Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.TwoZone_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.TwoZone_ArtificialInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs") translateModel(FastBuildings.Examples.TwoZone_ArtificialInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 99.55 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.001063/0.001063, allocations: 177.3 kB / 15.94 MB, free: 228 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.466/1.466, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.2096/0.2096, allocations: 4.63 MB / 295.6 MB, free: 4.062 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003849/0.0003852, allocations: 12 kB / 357.6 MB, free: 2.512 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1384, allocations: 51.49 MB / 409.1 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.TwoZone_ArtificialInputs): time 0.004943/0.1435, allocations: 3.354 MB / 412.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.1453, allocations: 0.8925 MB / 413.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002458/0.1455, allocations: 19.94 kB / 413.3 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000208/0.1457, allocations: 63.53 kB / 413.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003257/0.1461, allocations: 167.5 kB / 413.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004044/0.1465, allocations: 103.9 kB / 413.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007207/0.1472, allocations: 475.9 kB / 414.1 MB, free: 9.895 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007406/0.148, allocations: 380.4 kB / 414.5 MB, free: 9.512 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003542/0.1483, allocations: 187.3 kB / 414.7 MB, free: 9.328 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002798/0.1486, allocations: 211 kB / 414.9 MB, free: 9.121 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.141e-05/0.1487, allocations: 28 kB / 414.9 MB, free: 9.094 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.815e-05/0.1488, allocations: 28 kB / 415 MB, free: 9.066 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.144e-05/0.1489, allocations: 87.61 kB / 415 MB, free: 8.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001477/0.149, allocations: 141.4 kB / 415.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006777/0.1497, allocations: 0.6315 MB / 415.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.1497, allocations: 0 / 415.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.088e-06/0.1498, allocations: 4 kB / 415.8 MB, free: 8.199 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.537e-06/0.1498, allocations: 3.938 kB / 415.8 MB, free: 8.195 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001657/0.1514, allocations: 0.8054 MB / 416.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.1515, allocations: 8.031 kB / 416.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001878/0.1517, allocations: 63.3 kB / 416.7 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005065/0.1522, allocations: 366 kB / 417.1 MB, free: 6.871 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.36e-05/0.1522, allocations: 37 kB / 417.1 MB, free: 6.832 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.1524, allocations: 47.98 kB / 417.1 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/0.1535, allocations: 0.5927 MB / 417.7 MB, free: 6.176 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.1535, allocations: 0 / 417.7 MB, free: 6.176 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.349e-05/0.1536, allocations: 20 kB / 417.7 MB, free: 6.156 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.1536, allocations: 12 kB / 417.8 MB, free: 6.145 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009807/0.1546, allocations: 499.6 kB / 418.2 MB, free: 5.656 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002703/0.1573, allocations: 1.907 MB / 420.2 MB, free: 3.656 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007919/0.1581, allocations: 438.5 kB / 420.6 MB, free: 3.211 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.189e-05/0.1582, allocations: 12.22 kB / 420.6 MB, free: 3.199 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006088/0.1588, allocations: 325.2 kB / 420.9 MB, free: 2.863 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 1.713e-06/0.1588, allocations: 0 / 420.9 MB, free: 2.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.001593/0.1604, allocations: 0.6907 MB / 421.6 MB, free: 2.168 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.092e-05/0.1605, allocations: 85.11 kB / 421.7 MB, free: 2.066 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004267/0.1609, allocations: 340.3 kB / 422 MB, free: 1.727 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.481e-05/0.161, allocations: 33.7 kB / 422 MB, free: 1.688 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002244/0.1612, allocations: 259.9 kB / 422.3 MB, free: 1.426 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001639/0.1614, allocations: 134.1 kB / 422.4 MB, free: 1.293 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.447e-05/0.1614, allocations: 4 kB / 422.4 MB, free: 1.289 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.1616, allocations: 354.8 kB / 422.8 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004525/0.162, allocations: 212.8 kB / 423 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000491/0.1625, allocations: 283.4 kB / 423.3 MB, free: 428 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005543/0.1631, allocations: 279.2 kB / 423.5 MB, free: 144 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.1631, allocations: 0 / 423.5 MB, free: 144 kB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.2927/0.4559, allocations: 0.6012 MB / 424.1 MB, free: 45.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.746e-05/0.456, allocations: 37.98 kB / 424.2 MB, free: 45.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.456, allocations: 2.344 kB / 424.2 MB, free: 45.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.709e-05/0.456, allocations: 4.188 kB / 424.2 MB, free: 45.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006495/0.4567, allocations: 131.1 kB / 424.3 MB, free: 45.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.81e-05/0.4567, allocations: 7.922 kB / 424.3 MB, free: 45.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000423/0.4571, allocations: 76.02 kB / 424.4 MB, free: 45.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.524e-05/0.4572, allocations: 19.06 kB / 424.4 MB, free: 45.16 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (51): * Single equations (assignments): 50 * 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.0003391/0.4575, allocations: 213.7 kB / 424.6 MB, free: 45.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.971e-05/0.4576, allocations: 42.8 kB / 424.7 MB, free: 45.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009535/0.4586, allocations: 481.4 kB / 425.1 MB, free: 45.01 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.4586, allocations: 3.75 kB / 425.1 MB, free: 45.01 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/0.4586, allocations: 3.219 kB / 425.1 MB, free: 45.01 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.4586, allocations: 2.203 kB / 425.1 MB, free: 45.01 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006783/0.4593, allocations: 0.592 MB / 425.7 MB, free: 44.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.4593, allocations: 0 / 425.7 MB, free: 44.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005486/0.4599, allocations: 118.2 kB / 425.9 MB, free: 44.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/0.4599, allocations: 7.453 kB / 425.9 MB, free: 44.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.241e-05/0.4599, allocations: 16.2 kB / 425.9 MB, free: 44.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.4599, allocations: 6.453 kB / 425.9 MB, free: 44.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.46, allocations: 1.516 kB / 425.9 MB, free: 44.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001532/0.4615, allocations: 0.826 MB / 426.7 MB, free: 44.74 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.4616, allocations: 119.1 kB / 426.8 MB, free: 44.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.269e-05/0.4617, allocations: 17.17 kB / 426.8 MB, free: 44.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002628/0.4619, allocations: 42.92 kB / 426.9 MB, free: 44.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.4621, allocations: 37.06 kB / 426.9 MB, free: 44.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-05/0.4621, allocations: 17.78 kB / 426.9 MB, free: 44.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000256/0.4624, allocations: 234.4 kB / 427.2 MB, free: 44.56 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4624, allocations: 0 / 427.2 MB, free: 44.56 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004548/0.4628, allocations: 138.3 kB / 427.3 MB, free: 44.54 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (bui.zon1.capZon.heaPor.T,bui.zon1.capWal.heaPor.T,bui.zon1.capInt.heaPor.T,bui.zon2.capZon.heaPor.T,bui.bou.capWal.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 (38): * Single equations (assignments): 36 * 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.0001563/0.463, allocations: 106.8 kB / 427.4 MB, free: 44.46 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009707/0.464, allocations: 0.5484 MB / 428 MB, free: 44.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.464, allocations: 1.859 kB / 428 MB, free: 44.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000439/0.4644, allocations: 259 kB / 428.2 MB, free: 44.38 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.4648, allocations: 49.8 kB / 428.3 MB, free: 44.38 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001958/0.4668, allocations: 1.414 MB / 429.7 MB, free: 43.63 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.4671, allocations: 0.8767 MB / 430.5 MB, free: 42.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002017/0.4673, allocations: 60.97 kB / 430.6 MB, free: 42.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.4674, allocations: 35.84 kB / 430.6 MB, free: 42.91 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4674, allocations: 0 / 430.6 MB, free: 42.91 MB / 350.1 MB Notification: Performance of Templates: time 0.007558/0.4749, allocations: 3.872 MB / 434.5 MB, free: 42.69 MB / 350.1 MB make -j1 -f FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.makefile Environment - environmentSimulation: (rm -f FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe ; mkfifo FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe >> ../files/FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.sim & ./FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe 2>&1) Environment - environmentSimulation: