Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.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.0009268/0.0009268, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009152/0.0009152, allocations: 173 kB / 23.03 MB, free: 1.547 MB / 18.57 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.001/1.001, allocations: 177.1 MB / 203.4 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] 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.01354/0.01354, allocations: 3.576 MB / 263.5 MB, free: 9.586 MB / 250.7 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.Examples.SingleZone_Inputs_defined,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined") translateModel(FastBuildings.Examples.SingleZone_Inputs_defined,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 3.938 kB / 334.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.383e-05/2.588e-05, allocations: 2.312 kB / 334.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Inputs_defined): time 0.004007/0.004033, allocations: 2.903 MB / 337.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.005461, allocations: 0.7477 MB / 337.9 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002361/0.005697, allocations: 4 kB / 337.9 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001993/0.005897, allocations: 47.52 kB / 337.9 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002537/0.00615, allocations: 95.08 kB / 338 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004923/0.006643, allocations: 123.7 kB / 338.1 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004891/0.007132, allocations: 402.3 kB / 338.5 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002949/0.007427, allocations: 132.8 kB / 338.7 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003847/0.007811, allocations: 219.6 kB / 338.9 MB, free: 10.53 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002101/0.008021, allocations: 123.7 kB / 339 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.527e-05/0.008077, allocations: 40 kB / 339 MB, free: 10.37 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.469e-05/0.008161, allocations: 43.94 kB / 339.1 MB, free: 10.33 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.018e-05/0.008221, allocations: 79.75 kB / 339.2 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.008354, allocations: 119.7 kB / 339.3 MB, free: 10.13 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003697/0.008724, allocations: 251.2 kB / 339.5 MB, free: 9.887 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.008728, allocations: 0 / 339.5 MB, free: 9.887 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.008729, allocations: 4 kB / 339.5 MB, free: 9.883 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.008739, allocations: 0 / 339.5 MB, free: 9.883 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009905/0.009729, allocations: 0.6613 MB / 340.2 MB, free: 9.18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.009772, allocations: 8.031 kB / 340.2 MB, free: 9.172 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002731/0.01005, allocations: 68.73 kB / 340.3 MB, free: 9.105 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003068/0.01035, allocations: 224 kB / 340.5 MB, free: 8.859 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.01037, allocations: 16.81 kB / 340.5 MB, free: 8.844 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.932e-05/0.01042, allocations: 24.38 kB / 340.5 MB, free: 8.82 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004535/0.01088, allocations: 237.7 kB / 340.7 MB, free: 8.574 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.01089, allocations: 192 / 340.7 MB, free: 8.574 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.877e-05/0.01092, allocations: 16.38 kB / 340.8 MB, free: 8.559 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.01093, allocations: 7.938 kB / 340.8 MB, free: 8.551 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002363/0.01117, allocations: 98.86 kB / 340.9 MB, free: 8.453 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.01226, allocations: 0.8372 MB / 341.7 MB, free: 7.57 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003795/0.01264, allocations: 135.3 kB / 341.8 MB, free: 7.426 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.01277, allocations: 63.66 kB / 341.9 MB, free: 7.359 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.0128, allocations: 4.375 kB / 341.9 MB, free: 7.355 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002027/0.013, allocations: 116.9 kB / 342 MB, free: 7.227 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 2.655e-06/0.013, allocations: 0 / 342 MB, free: 7.227 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0004388/0.01344, allocations: 184.8 kB / 342.2 MB, free: 7.043 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.01347, allocations: 55.34 kB / 342.2 MB, free: 6.977 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.01363, allocations: 262.7 kB / 342.5 MB, free: 6.699 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.01365, allocations: 29.7 kB / 342.5 MB, free: 6.664 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.492e-05/0.01374, allocations: 219.3 kB / 342.7 MB, free: 6.441 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.352e-05/0.01379, allocations: 79.36 kB / 342.8 MB, free: 6.363 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.099e-05/0.01387, allocations: 55.36 kB / 342.9 MB, free: 6.301 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.704e-05/0.01394, allocations: 0.504 MB / 343.4 MB, free: 5.785 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.01406, allocations: 65.67 kB / 343.4 MB, free: 5.715 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.01419, allocations: 109.4 kB / 343.6 MB, free: 5.586 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002297/0.01442, allocations: 143.4 kB / 343.7 MB, free: 5.422 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.01442, allocations: 0 / 343.7 MB, free: 5.422 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003711/0.01479, allocations: 251.9 kB / 343.9 MB, free: 5.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.125e-05/0.01482, allocations: 37.8 kB / 344 MB, free: 5.117 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.01483, allocations: 3.938 kB / 344 MB, free: 5.113 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.01485, allocations: 7.938 kB / 344 MB, free: 5.105 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002615/0.01511, allocations: 63.89 kB / 344.1 MB, free: 5.043 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.01512, allocations: 3.984 kB / 344.1 MB, free: 5.039 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.01526, allocations: 31.81 kB / 344.1 MB, free: 5.008 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.247e-05/0.01528, allocations: 12 kB / 344.1 MB, free: 4.996 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (29): * Single equations (assignments): 28 * 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 9.729e-05/0.01538, allocations: 168.5 kB / 344.3 MB, free: 4.82 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.453e-05/0.01542, allocations: 31.84 kB / 344.3 MB, free: 4.789 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003246/0.01575, allocations: 175.5 kB / 344.5 MB, free: 4.613 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.01575, allocations: 0 / 344.5 MB, free: 4.613 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.01576, allocations: 0 / 344.5 MB, free: 4.613 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.01576, allocations: 7.938 kB / 344.5 MB, free: 4.605 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002331/0.01599, allocations: 244.4 kB / 344.7 MB, free: 4.332 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.016, allocations: 0 / 344.7 MB, free: 4.332 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002426/0.01624, allocations: 47.97 kB / 344.8 MB, free: 4.285 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.431e-06/0.01624, allocations: 0 / 344.8 MB, free: 4.285 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.711e-05/0.01627, allocations: 11.98 kB / 344.8 MB, free: 4.273 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.01628, allocations: 0 / 344.8 MB, free: 4.273 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01628, allocations: 4 kB / 344.8 MB, free: 4.27 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004147/0.01669, allocations: 243 kB / 345 MB, free: 4.012 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.089e-05/0.01672, allocations: 19.86 kB / 345 MB, free: 3.992 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.658e-05/0.01676, allocations: 12 kB / 345 MB, free: 3.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.01688, allocations: 19.97 kB / 345.1 MB, free: 3.961 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.266e-05/0.01696, allocations: 23.89 kB / 345.1 MB, free: 3.938 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.01698, allocations: 4 kB / 345.1 MB, free: 3.934 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.611e-05/0.01707, allocations: 181.5 kB / 345.3 MB, free: 3.758 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01707, allocations: 4 kB / 345.3 MB, free: 3.754 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000302/0.01738, allocations: 75.78 kB / 345.3 MB, free: 3.68 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (bui.zon.capZon.heaPor.T,bui.zon.capInt.heaPor.T) * 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 (22): * Single equations (assignments): 20 * 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.792e-05/0.01747, allocations: 114.9 kB / 345.5 MB, free: 3.562 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003238/0.0178, allocations: 197.2 kB / 345.7 MB, free: 3.348 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.0178, allocations: 0 / 345.7 MB, free: 3.348 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.01793, allocations: 67.59 kB / 345.7 MB, free: 3.277 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.01824, allocations: 39.38 kB / 345.8 MB, free: 3.242 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.01951, allocations: 0.5327 MB / 346.3 MB, free: 2.684 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.962e-05/0.01956, allocations: 103.8 kB / 346.4 MB, free: 2.562 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001065/0.01967, allocations: 21.64 kB / 346.4 MB, free: 2.539 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.764e-05/0.01975, allocations: 24.48 kB / 346.4 MB, free: 2.516 MB / 266.7 MB Notification: Performance of SimCode: time 9.81e-07/0.01975, allocations: 0 / 346.4 MB, free: 2.516 MB / 266.7 MB Notification: Performance of Templates: time 0.006028/0.02578, allocations: 2.724 MB / 349.2 MB, free: 15.82 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.makefile [Timeout 660] (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.sim & ./FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined -abortSlowSimulation -alarm=240 -lv LOG_STATS > FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9360402207821608]