Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.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_ArtificialInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs") translateModel(FastBuildings.Examples.SingleZone_ArtificialInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001164/0.001164, allocations: 172.7 kB / 15.95 MB, free: 208 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.459/1.459, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1576/0.1576, allocations: 4.633 MB / 295.7 MB, free: 3.973 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005281/0.0005284, allocations: 8 kB / 357.7 MB, free: 2.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1443, allocations: 51.5 MB / 409.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_ArtificialInputs): time 0.003316/0.1477, allocations: 2.536 MB / 411.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.149, allocations: 0.6431 MB / 412.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001415/0.1492, allocations: 8 kB / 412.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.1493, allocations: 43.62 kB / 412.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001599/0.1495, allocations: 67.39 kB / 412.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000257/0.1497, allocations: 75.86 kB / 412.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003693/0.1501, allocations: 358.6 kB / 412.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003117/0.1504, allocations: 169 kB / 413.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001593/0.1506, allocations: 107.6 kB / 413.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001622/0.1508, allocations: 111.5 kB / 413.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.767e-05/0.1508, allocations: 16 kB / 413.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.823e-05/0.1509, allocations: 16 kB / 413.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.183e-05/0.1509, allocations: 51.75 kB / 413.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.654e-05/0.151, allocations: 81.58 kB / 413.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002979/0.1513, allocations: 319.5 kB / 413.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1513, allocations: 0 / 413.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1513, allocations: 4 kB / 413.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1513, allocations: 0 / 413.8 MB, free: 10.35 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.001035/0.1524, allocations: 0.5947 MB / 414.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.1524, allocations: 8.031 kB / 414.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.629e-05/0.1525, allocations: 35.62 kB / 414.4 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003228/0.1528, allocations: 275.3 kB / 414.7 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.1529, allocations: 16.56 kB / 414.7 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.798e-05/0.1529, allocations: 24 kB / 414.7 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006246/0.1536, allocations: 343.6 kB / 415.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.1536, allocations: 0 / 415.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.226e-05/0.1536, allocations: 19.92 kB / 415.1 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.1536, allocations: 7.938 kB / 415.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006228/0.1543, allocations: 302 kB / 415.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00145/0.1557, allocations: 1.056 MB / 416.4 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007458/0.1565, allocations: 315.2 kB / 416.7 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003687/0.1569, allocations: 177.1 kB / 416.9 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.636e-05/0.1569, allocations: 4.188 kB / 416.9 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004333/0.1573, allocations: 204.9 kB / 417.1 MB, free: 6.809 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.884e-06/0.1574, allocations: 0 / 417.1 MB, free: 6.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009811/0.1583, allocations: 451.9 kB / 417.6 MB, free: 6.363 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.1584, allocations: 55.41 kB / 417.6 MB, free: 6.297 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.1586, allocations: 229 kB / 417.8 MB, free: 6.062 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.053e-05/0.1587, allocations: 33.7 kB / 417.9 MB, free: 6.023 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.1588, allocations: 164.1 kB / 418 MB, free: 5.859 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.492e-05/0.1589, allocations: 78.89 kB / 418.1 MB, free: 5.781 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.667e-05/0.1589, allocations: 4 kB / 418.1 MB, free: 5.777 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.159, allocations: 334.8 kB / 418.4 MB, free: 5.441 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003067/0.1593, allocations: 139.9 kB / 418.6 MB, free: 5.305 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003037/0.1597, allocations: 171.3 kB / 418.7 MB, free: 5.125 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003378/0.16, allocations: 178.5 kB / 418.9 MB, free: 4.941 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.16, allocations: 0 / 418.9 MB, free: 4.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007322/0.1608, allocations: 401.9 kB / 419.3 MB, free: 4.539 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.739e-05/0.1608, allocations: 37.69 kB / 419.3 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.1608, allocations: 0 / 419.3 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.1609, allocations: 4.094 kB / 419.4 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003133/0.1612, allocations: 75.89 kB / 419.4 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.1612, allocations: 0 / 419.4 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000224/0.1614, allocations: 55.72 kB / 419.5 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.1615, allocations: 7.938 kB / 419.5 MB, free: 4.355 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.simFasBui.powElePul.T_start,simFasBui.powElePul.T_start,$PRE.simFasBui.powElePul.count,simFasBui.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.0001594/0.1616, allocations: 169.7 kB / 419.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/0.1617, allocations: 15.81 kB / 419.7 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000732/0.1624, allocations: 356.7 kB / 420 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.1624, allocations: 4 kB / 420 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1624, allocations: 0 / 420 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.1624, allocations: 0 / 420 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000356/0.1628, allocations: 393.2 kB / 420.4 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1628, allocations: 3.953 kB / 420.4 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003154/0.1631, allocations: 63.95 kB / 420.5 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1631, allocations: 0 / 420.5 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/0.1632, allocations: 7.938 kB / 420.5 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.1632, allocations: 4 kB / 420.5 MB, free: 3.285 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.1632, allocations: 7.938 kB / 420.5 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009935/0.1642, allocations: 0.5213 MB / 421 MB, free: 2.738 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.958e-05/0.1643, allocations: 112.7 kB / 421.1 MB, free: 2.609 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.67e-05/0.1643, allocations: 4 kB / 421.1 MB, free: 2.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.1645, allocations: 32.03 kB / 421.2 MB, free: 2.574 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.263e-05/0.1646, allocations: 19.97 kB / 421.2 MB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.155e-05/0.1646, allocations: 11.98 kB / 421.2 MB, free: 2.543 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001457/0.1648, allocations: 172.5 kB / 421.4 MB, free: 2.375 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1648, allocations: 0 / 421.4 MB, free: 2.375 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003087/0.1651, allocations: 63.84 kB / 421.4 MB, free: 2.312 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,simFasBui.powElePul.T_start,simFasBui.powElePul.count) * Number of discrete states: 1 (simFasBui.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.000102/0.1652, allocations: 107.2 kB / 421.5 MB, free: 2.199 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000709/0.1659, allocations: 378.6 kB / 421.9 MB, free: 1.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1659, allocations: 0 / 421.9 MB, free: 1.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003096/0.1663, allocations: 155.9 kB / 422 MB, free: 1.668 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.1666, allocations: 39.23 kB / 422.1 MB, free: 1.633 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.1679, allocations: 0.751 MB / 422.8 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003612/0.1682, allocations: 0.7752 MB / 423.6 MB, free: 56 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001422/0.1684, allocations: 29.53 kB / 423.6 MB, free: 28 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.256e-05/0.1685, allocations: 19.44 kB / 423.7 MB, free: 8 kB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1685, allocations: 0 / 423.7 MB, free: 8 kB / 350.1 MB Notification: Performance of Templates: time 0.2493/0.4178, allocations: 2.408 MB / 426.1 MB, free: 45.37 MB / 350.1 MB make -j1 -f FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.makefile Environment - environmentSimulation: (rm -f FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.sim & ./FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe 2>&1) Environment - environmentSimulation: