Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo", uses=false) Using package FastBuildings with version 0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(FastBuildings.Input.SIM_2Zones_Artificial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial") translateModel(FastBuildings.Input.SIM_2Zones_Artificial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 105.5 kB / 16.41 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 187 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02197/0.02197, allocations: 4.65 MB / 295.9 MB, free: 10.24 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 59.91 kB / 408.9 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07896/0.08029, allocations: 50.51 MB / 459.4 MB, free: 8.582 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_2Zones_Artificial): time 0.002787/0.08312, allocations: 1.694 MB / 461.1 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008293/0.08397, allocations: 486.8 kB / 461.6 MB, free: 6.398 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.593e-05/0.08408, allocations: 3.938 kB / 461.6 MB, free: 6.395 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001044/0.08421, allocations: 11.86 kB / 461.6 MB, free: 6.383 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.184e-05/0.0843, allocations: 19.75 kB / 461.6 MB, free: 6.363 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002095/0.08452, allocations: 47.92 kB / 461.7 MB, free: 6.316 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002111/0.08474, allocations: 123.6 kB / 461.8 MB, free: 6.195 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.0849, allocations: 49.08 kB / 461.8 MB, free: 6.148 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.08507, allocations: 59.77 kB / 461.9 MB, free: 6.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.08519, allocations: 55.77 kB / 461.9 MB, free: 6.035 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.034e-05/0.08522, allocations: 8 kB / 462 MB, free: 6.027 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.466e-05/0.08525, allocations: 12 kB / 462 MB, free: 6.016 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.281e-05/0.0853, allocations: 27.84 kB / 462 MB, free: 5.988 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.353e-05/0.08538, allocations: 51.72 kB / 462 MB, free: 5.938 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.08555, allocations: 107.5 kB / 462.1 MB, free: 5.832 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.08556, allocations: 0 / 462.1 MB, free: 5.832 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.08557, allocations: 0 / 462.1 MB, free: 5.832 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.08558, allocations: 0 / 462.1 MB, free: 5.832 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008229/0.08641, allocations: 468.6 kB / 462.6 MB, free: 5.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.08645, allocations: 15.97 kB / 462.6 MB, free: 5.305 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.091e-05/0.0865, allocations: 16.69 kB / 462.6 MB, free: 5.289 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.0867, allocations: 198.9 kB / 462.8 MB, free: 5.059 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.08673, allocations: 12.36 kB / 462.8 MB, free: 5.047 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.08675, allocations: 12.12 kB / 462.9 MB, free: 5.035 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003965/0.08716, allocations: 173.8 kB / 463 MB, free: 4.844 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.08718, allocations: 0 / 463 MB, free: 4.844 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.0872, allocations: 4 kB / 463 MB, free: 4.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.08721, allocations: 0 / 463 MB, free: 4.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004063/0.08762, allocations: 127.8 kB / 463.2 MB, free: 4.715 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008694/0.0885, allocations: 0.7199 MB / 463.9 MB, free: 3.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004931/0.08901, allocations: 266 kB / 464.1 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002311/0.08925, allocations: 92.33 kB / 464.2 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.08928, allocations: 3.938 kB / 464.2 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003361/0.08962, allocations: 167.5 kB / 464.4 MB, free: 3.305 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.663e-06/0.08963, allocations: 0 / 464.4 MB, free: 3.305 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007556/0.09039, allocations: 249.1 kB / 464.6 MB, free: 3.055 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.684e-05/0.09049, allocations: 154.2 kB / 464.8 MB, free: 2.867 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.09064, allocations: 166.2 kB / 464.9 MB, free: 2.695 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.09067, allocations: 30.08 kB / 465 MB, free: 2.66 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.428e-05/0.09074, allocations: 112 kB / 465.1 MB, free: 2.547 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.948e-05/0.09078, allocations: 35.53 kB / 465.1 MB, free: 2.512 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.755e-05/0.09085, allocations: 29.7 kB / 465.1 MB, free: 2.477 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.09096, allocations: 322.8 kB / 465.5 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/0.0912, allocations: 67.88 kB / 465.5 MB, free: 2.086 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/0.09144, allocations: 96.23 kB / 465.6 MB, free: 1.977 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004292/0.09188, allocations: 185.8 kB / 465.8 MB, free: 1.773 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.09189, allocations: 0 / 465.8 MB, free: 1.773 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005574/0.09246, allocations: 227 kB / 466 MB, free: 1.539 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.366e-05/0.0925, allocations: 33.7 kB / 466.1 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.09251, allocations: 96 / 466.1 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.09254, allocations: 11.94 kB / 466.1 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.09272, allocations: 31.97 kB / 466.1 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.09273, allocations: 0 / 466.1 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/0.09291, allocations: 28.33 kB / 466.1 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.09293, allocations: 4 kB / 466.1 MB, free: 1.426 MB / 334.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 (13): * Single equations (assignments): 12 * 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.000113/0.09305, allocations: 133.8 kB / 466.3 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.033e-05/0.09309, allocations: 15.81 kB / 466.3 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002019/0.0933, allocations: 101.8 kB / 466.4 MB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.09331, allocations: 0 / 466.4 MB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.09332, allocations: 7.938 kB / 466.4 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.09333, allocations: 0 / 466.4 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003866/0.09373, allocations: 437.7 kB / 466.8 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.09375, allocations: 7.938 kB / 466.8 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001469/0.0939, allocations: 31.98 kB / 466.9 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.09391, allocations: 3.984 kB / 466.9 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.09393, allocations: 4 kB / 466.9 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.09394, allocations: 0 / 466.9 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.09395, allocations: 4 kB / 466.9 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005329/0.09448, allocations: 369 kB / 467.2 MB, free: 228 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.184e-05/0.09455, allocations: 88.95 kB / 467.3 MB, free: 120 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/0.09458, allocations: 8 kB / 467.3 MB, free: 112 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/0.0948, allocations: 23.97 kB / 467.3 MB, free: 88 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.461e-05/0.09487, allocations: 11.98 kB / 467.4 MB, free: 76 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.09489, allocations: 4 kB / 467.4 MB, free: 72 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000104/0.095, allocations: 128.1 kB / 467.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.533e-06/0.09501, allocations: 0 / 467.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000308/0.09532, allocations: 31.84 kB / 467.5 MB, free: 15.91 MB / 350.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 (11): * Single equations (assignments): 9 * 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 9.084e-05/0.09542, allocations: 103.9 kB / 467.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005326/0.09596, allocations: 211.2 kB / 467.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.09597, allocations: 0 / 467.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002613/0.09624, allocations: 79.88 kB / 467.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003928/0.09664, allocations: 28.3 kB / 467.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005954/0.09724, allocations: 300.8 kB / 468.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.09752, allocations: 0.7234 MB / 468.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.99e-05/0.09759, allocations: 11.44 kB / 469 MB, free: 14.38 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.0976, allocations: 4 kB / 469 MB, free: 14.38 MB / 350.1 MB Notification: Performance of Templates: time 0.003386/0.101, allocations: 1.62 MB / 470.6 MB, free: 12.77 MB / 350.1 MB make -j1 -f FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.makefile (rm -f FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe ; mkfifo FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe >> ../files/FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.sim & ./FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe 2>&1)