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.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.Examples.SingleZone_Inputs_defined,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined") translateModel(FastBuildings.Examples.SingleZone_Inputs_defined,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001426/0.001426, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.2037/0.2037, allocations: 4.63 MB / 295.6 MB, free: 3.953 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003859/0.0003859, allocations: 8 kB / 357.6 MB, free: 2.555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1357, allocations: 51.49 MB / 409.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Inputs_defined): time 0.00325/0.139, allocations: 2.407 MB / 411.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.1401, allocations: 0.6587 MB / 412.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.1403, allocations: 8 kB / 412.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001503/0.1404, allocations: 35.7 kB / 412.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001643/0.1406, allocations: 83.75 kB / 412.3 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003066/0.1409, allocations: 67.91 kB / 412.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003445/0.1413, allocations: 231.6 kB / 412.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003533/0.1416, allocations: 155.6 kB / 412.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001905/0.1418, allocations: 111.5 kB / 412.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.142, allocations: 115.5 kB / 412.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.813e-05/0.1421, allocations: 16 kB / 413 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.139e-05/0.1421, allocations: 16 kB / 413 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.454e-05/0.1422, allocations: 47.81 kB / 413 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.1423, allocations: 77.58 kB / 413.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002846/0.1426, allocations: 295.6 kB / 413.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.1426, allocations: 3.938 kB / 413.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1426, allocations: 0 / 413.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.972e-06/0.1426, allocations: 0 / 413.4 MB, free: 10.68 MB / 350.1 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.001151/0.1438, allocations: 0.5863 MB / 414 MB, free: 10.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.1438, allocations: 11.97 kB / 414 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.25e-05/0.1439, allocations: 35.62 kB / 414 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003292/0.1443, allocations: 271.4 kB / 414.3 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/0.1443, allocations: 16.56 kB / 414.3 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.766e-05/0.1444, allocations: 28 kB / 414.3 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006361/0.145, allocations: 315.6 kB / 414.6 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.145, allocations: 0 / 414.6 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.07e-05/0.1451, allocations: 12 kB / 414.7 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.1451, allocations: 4 kB / 414.7 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006144/0.1457, allocations: 266.1 kB / 414.9 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001515/0.1472, allocations: 1.021 MB / 415.9 MB, free: 7.965 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007186/0.148, allocations: 299.2 kB / 416.2 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.137e-05/0.148, allocations: 192 / 416.2 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004108/0.1484, allocations: 187.4 kB / 416.4 MB, free: 7.473 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.693e-06/0.1484, allocations: 0 / 416.4 MB, free: 7.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.000997/0.1494, allocations: 414.4 kB / 416.8 MB, free: 7.062 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/0.1495, allocations: 59.41 kB / 416.9 MB, free: 6.992 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002481/0.1498, allocations: 217 kB / 417.1 MB, free: 6.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.33e-05/0.1498, allocations: 29.7 kB / 417.1 MB, free: 6.734 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.15, allocations: 168.1 kB / 417.3 MB, free: 6.566 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.332e-05/0.1501, allocations: 82.92 kB / 417.4 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.387e-05/0.1501, allocations: 0 / 417.4 MB, free: 6.484 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.1503, allocations: 334.8 kB / 417.7 MB, free: 6.148 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003047/0.1506, allocations: 123.9 kB / 417.8 MB, free: 6.027 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003181/0.1509, allocations: 159.3 kB / 418 MB, free: 5.859 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003325/0.1513, allocations: 154.5 kB / 418.1 MB, free: 5.699 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.1513, allocations: 7.984 kB / 418.1 MB, free: 5.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007191/0.152, allocations: 373.9 kB / 418.5 MB, free: 5.316 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.987e-05/0.152, allocations: 37.69 kB / 418.5 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.1521, allocations: 0 / 418.5 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.1521, allocations: 4 kB / 418.5 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003154/0.1524, allocations: 67.89 kB / 418.6 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.1524, allocations: 8.062 kB / 418.6 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002384/0.1527, allocations: 47.72 kB / 418.7 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.883e-05/0.1527, allocations: 12 kB / 418.7 MB, free: 5.137 MB / 350.1 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 ($whenCondition1,$PRE.powElePul.T_start,powElePul.T_start,$PRE.powElePul.count,powElePul.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001706/0.1529, allocations: 165.7 kB / 418.8 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.061e-05/0.1529, allocations: 15.81 kB / 418.8 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006939/0.1536, allocations: 320.8 kB / 419.2 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.1536, allocations: 7.938 kB / 419.2 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1536, allocations: 0 / 419.2 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.1537, allocations: 3.984 kB / 419.2 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003687/0.154, allocations: 373.2 kB / 419.5 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.154, allocations: 3.953 kB / 419.5 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003195/0.1544, allocations: 63.91 kB / 419.6 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.1544, allocations: 3.984 kB / 419.6 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/0.1544, allocations: 4 kB / 419.6 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.1544, allocations: 4 kB / 419.6 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1544, allocations: 0 / 419.6 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009654/0.1554, allocations: 490 kB / 420.1 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.481e-05/0.1555, allocations: 104.8 kB / 420.2 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.093e-05/0.1555, allocations: 4 kB / 420.2 MB, free: 3.504 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/0.1557, allocations: 36.03 kB / 420.2 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.608e-05/0.1558, allocations: 23.91 kB / 420.3 MB, free: 3.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.1558, allocations: 7.984 kB / 420.3 MB, free: 3.438 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001442/0.156, allocations: 156.5 kB / 420.4 MB, free: 3.285 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.156, allocations: 0 / 420.4 MB, free: 3.285 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002876/0.1563, allocations: 71.84 kB / 420.5 MB, free: 3.215 MB / 350.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001214/0.1564, allocations: 103.2 kB / 420.6 MB, free: 3.105 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007113/0.1571, allocations: 354.1 kB / 420.9 MB, free: 2.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1572, allocations: 0 / 420.9 MB, free: 2.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003089/0.1575, allocations: 135.9 kB / 421.1 MB, free: 2.617 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.1577, allocations: 33.61 kB / 421.1 MB, free: 2.586 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.1591, allocations: 0.7215 MB / 421.8 MB, free: 1.836 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004287/0.1595, allocations: 0.7712 MB / 422.6 MB, free: 1.039 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001325/0.1597, allocations: 29.47 kB / 422.6 MB, free: 1.008 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.256e-05/0.1597, allocations: 27.44 kB / 422.6 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1598, allocations: 0 / 422.6 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of Templates: time 0.2555/0.4152, allocations: 2.245 MB / 424.9 MB, free: 45.3 MB / 350.1 MB make -j1 -f FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.makefile Environment - environmentSimulation: (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=480 -lv LOG_STATS > FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe 2>&1) Environment - environmentSimulation: