Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Input.SIM_ArtificialInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001741/0.001741, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002151/0.002151, allocations: 218.8 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.524/1.524, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.04869/0.04869, allocations: 4.711 MB / 317.9 MB, free: 14.57 MB / 254.1 MB " [Timeout remaining time 180] Using package FastBuildings with version 0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(FastBuildings.Input.SIM_ArtificialInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Input.SIM_ArtificialInput") translateModel(FastBuildings.Input.SIM_ArtificialInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Input.SIM_ArtificialInput") [Timeout 660] "Notification: FastBuildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 67.91 kB / 442.5 MB, free: 9.406 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09129/0.09334, allocations: 54.49 MB / 497 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_ArtificialInput): time 0.00289/0.09623, allocations: 1.717 MB / 498.7 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009657/0.09719, allocations: 0.561 MB / 499.3 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.09731, allocations: 0 / 499.3 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.071e-05/0.0974, allocations: 15.8 kB / 499.3 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.538e-05/0.09747, allocations: 27.72 kB / 499.3 MB, free: 496 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.09771, allocations: 51.94 kB / 499.3 MB, free: 444 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001924/0.09791, allocations: 127.5 kB / 499.5 MB, free: 316 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.09803, allocations: 33.28 kB / 499.5 MB, free: 280 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002029/0.09823, allocations: 63.72 kB / 499.6 MB, free: 216 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.09833, allocations: 55.75 kB / 499.6 MB, free: 160 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.371e-05/0.09835, allocations: 8 kB / 499.6 MB, free: 152 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.252e-05/0.09841, allocations: 16 kB / 499.6 MB, free: 136 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.843e-05/0.09845, allocations: 19.92 kB / 499.7 MB, free: 116 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.668e-05/0.09851, allocations: 51.67 kB / 499.7 MB, free: 64 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.09871, allocations: 111.6 kB / 499.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.09871, allocations: 4 kB / 499.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.09871, allocations: 4 kB / 499.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.09872, allocations: 0 / 499.8 MB, free: 15.94 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007982/0.09951, allocations: 391.4 kB / 0.4885 GB, free: 15.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.941e-05/0.09954, allocations: 8.031 kB / 0.4885 GB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002639/0.09981, allocations: 36.81 kB / 0.4885 GB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.1, allocations: 155.9 kB / 0.4887 GB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.1, allocations: 12.31 kB / 0.4887 GB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.1001, allocations: 4.375 kB / 0.4887 GB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003854/0.1004, allocations: 166.1 kB / 0.4889 GB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.1005, allocations: 0 / 0.4889 GB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.1005, allocations: 12 kB / 0.4889 GB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1005, allocations: 0 / 0.4889 GB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000412/0.1009, allocations: 123.8 kB / 0.489 GB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008909/0.1018, allocations: 0.6723 MB / 0.4896 GB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003957/0.1022, allocations: 168.9 kB / 0.4898 GB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002429/0.1024, allocations: 88.33 kB / 0.4899 GB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.1024, allocations: 0 / 0.4899 GB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003352/0.1028, allocations: 159.5 kB / 0.49 GB, free: 13.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.1028, allocations: 0 / 0.49 GB, free: 13.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007827/0.1036, allocations: 233.8 kB / 0.4903 GB, free: 13.51 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.542e-05/0.1036, allocations: 166.2 kB / 0.4904 GB, free: 13.31 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.1038, allocations: 174.6 kB / 0.4906 GB, free: 13.13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.1038, allocations: 25.7 kB / 0.4906 GB, free: 13.1 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.455e-05/0.1039, allocations: 112 kB / 0.4907 GB, free: 12.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/0.104, allocations: 39.66 kB / 0.4908 GB, free: 12.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.735e-05/0.104, allocations: 25.72 kB / 0.4908 GB, free: 12.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.1042, allocations: 322.8 kB / 0.4911 GB, free: 12.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/0.1044, allocations: 63.94 kB / 0.4911 GB, free: 12.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002275/0.1046, allocations: 92.22 kB / 0.4912 GB, free: 12.42 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004354/0.1051, allocations: 173.8 kB / 0.4914 GB, free: 12.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.1051, allocations: 4 kB / 0.4914 GB, free: 12.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005458/0.1056, allocations: 223 kB / 0.4916 GB, free: 12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.258e-05/0.1056, allocations: 29.7 kB / 0.4916 GB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.1056, allocations: 0 / 0.4916 GB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.1057, allocations: 4 kB / 0.4917 GB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.1058, allocations: 23.97 kB / 0.4917 GB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.1058, allocations: 12 kB / 0.4917 GB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.106, allocations: 23.98 kB / 0.4917 GB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/0.106, allocations: 7.984 kB / 0.4917 GB, free: 11.89 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 (powElePul.count,$PRE.powElePul.count,powElePul.T_start,$PRE.powElePul.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001154/0.1061, allocations: 130 kB / 0.4918 GB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.064e-05/0.1062, allocations: 15.89 kB / 0.4919 GB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001932/0.1064, allocations: 86.69 kB / 0.4919 GB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.1064, allocations: 15.92 kB / 0.492 GB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1064, allocations: 7.969 kB / 0.492 GB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1064, allocations: 0 / 0.492 GB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003048/0.1067, allocations: 297.6 kB / 0.4922 GB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1067, allocations: 0 / 0.4922 GB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.1068, allocations: 35.91 kB / 0.4923 GB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1068, allocations: 3.938 kB / 0.4923 GB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.1068, allocations: 4 kB / 0.4923 GB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.1068, allocations: 4.031 kB / 0.4923 GB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1068, allocations: 0 / 0.4923 GB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005268/0.1074, allocations: 294.8 kB / 0.4926 GB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.178e-05/0.1074, allocations: 15.84 kB / 0.4926 GB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.707e-05/0.1075, allocations: 3.938 kB / 0.4926 GB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.1076, allocations: 23.97 kB / 0.4926 GB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.826e-05/0.1077, allocations: 15.98 kB / 0.4926 GB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.1077, allocations: 7.984 kB / 0.4926 GB, free: 10.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001015/0.1078, allocations: 124 kB / 0.4928 GB, free: 10.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1078, allocations: 0 / 0.4928 GB, free: 10.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000274/0.1081, allocations: 24 kB / 0.4928 GB, free: 10.71 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,powElePul.T_start,powElePul.count) * Number of discrete states: 1 (powElePul.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001109/0.1082, allocations: 99.17 kB / 0.4929 GB, free: 10.6 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005284/0.1087, allocations: 199.3 kB / 0.4931 GB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1087, allocations: 0 / 0.4931 GB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002437/0.109, allocations: 79.86 kB / 0.4931 GB, free: 10.31 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.1093, allocations: 17.81 kB / 0.4932 GB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006371/0.1099, allocations: 313.2 kB / 0.4935 GB, free: 9.945 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.1103, allocations: 0.7119 MB / 0.4941 GB, free: 9.207 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.988e-05/0.1103, allocations: 15.44 kB / 0.4942 GB, free: 9.191 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1103, allocations: 0 / 0.4942 GB, free: 9.191 MB / 366.1 MB Notification: Performance of Templates: time 0.003532/0.1139, allocations: 1.622 MB / 0.4957 GB, free: 7.574 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f FastBuildings_FastBuildings.Input.SIM_ArtificialInput.makefile [Timeout 660] (rm -f FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe ; mkfifo FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe >> ../files/FastBuildings_FastBuildings.Input.SIM_ArtificialInput.sim & ./FastBuildings_FastBuildings.Input.SIM_ArtificialInput -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.282167983008549] Failed to read output from testmodel.py, exit status != 0: 0.12139984290115535 0.137241536 0.035334004 Calling exit ...