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.00107/0.00107, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.009941/0.009941, allocations: 168.8 kB / 16.26 MB, free: 6.652 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.532/1.532, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1735/0.1735, allocations: 4.631 MB / 296.1 MB, free: 4.035 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004163/0.0004163, allocations: 11.98 kB / 358.3 MB, free: 2.164 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1297, allocations: 51.49 MB / 409.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_ArtificialInputs): time 0.004534/0.1343, allocations: 2.651 MB / 412.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.1362, allocations: 0.6662 MB / 413.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003434/0.1366, allocations: 4 kB / 413.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002384/0.1369, allocations: 39.7 kB / 413.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003976/0.1373, allocations: 75.39 kB / 413.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004642/0.1378, allocations: 87.94 kB / 413.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005934/0.1384, allocations: 374.5 kB / 413.7 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004157/0.1388, allocations: 217.2 kB / 413.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003409/0.1391, allocations: 115.5 kB / 414 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002647/0.1394, allocations: 119.4 kB / 414.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.518e-05/0.1395, allocations: 12 kB / 414.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.426e-05/0.1395, allocations: 16 kB / 414.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.272e-05/0.1396, allocations: 43.77 kB / 414.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001908/0.1398, allocations: 168.9 kB / 414.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004129/0.1402, allocations: 394.8 kB / 414.8 MB, free: 9.645 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.1402, allocations: 0 / 414.8 MB, free: 9.645 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1402, allocations: 0 / 414.8 MB, free: 9.645 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.1403, allocations: 4 kB / 414.8 MB, free: 9.641 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.001251/0.1415, allocations: 0.5909 MB / 415.3 MB, free: 8.996 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.1416, allocations: 16.03 kB / 415.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001353/0.1417, allocations: 32.56 kB / 415.4 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003944/0.1421, allocations: 272.7 kB / 415.7 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.1422, allocations: 16.94 kB / 415.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.739e-05/0.1422, allocations: 32.28 kB / 415.7 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007604/0.143, allocations: 351.9 kB / 416.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.143, allocations: 0 / 416.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.781e-05/0.143, allocations: 7.984 kB / 416.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.1431, allocations: 8 kB / 416.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000773/0.1438, allocations: 302 kB / 416.4 MB, free: 7.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001725/0.1456, allocations: 1.052 MB / 417.4 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007372/0.1463, allocations: 325.9 kB / 417.7 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003684/0.1467, allocations: 176.8 kB / 417.9 MB, free: 6.309 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.1467, allocations: 0 / 417.9 MB, free: 6.309 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004519/0.1472, allocations: 201.9 kB / 418.1 MB, free: 6.102 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.783e-06/0.1472, allocations: 0 / 418.1 MB, free: 6.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001097/0.1483, allocations: 465.4 kB / 418.6 MB, free: 5.641 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.1484, allocations: 55.41 kB / 418.6 MB, free: 5.574 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.1486, allocations: 229 kB / 418.8 MB, free: 5.344 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/0.1487, allocations: 33.64 kB / 418.9 MB, free: 5.305 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.1488, allocations: 164.2 kB / 419 MB, free: 5.141 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.242e-05/0.1489, allocations: 78.84 kB / 419.1 MB, free: 5.062 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.227e-05/0.1489, allocations: 29.7 kB / 419.1 MB, free: 5.027 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1491, allocations: 334.8 kB / 419.5 MB, free: 4.691 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003236/0.1494, allocations: 139.9 kB / 419.6 MB, free: 4.555 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000364/0.1498, allocations: 175.3 kB / 419.8 MB, free: 4.371 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007281/0.1505, allocations: 329.9 kB / 420.1 MB, free: 4.027 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1506, allocations: 0 / 420.1 MB, free: 4.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008477/0.1514, allocations: 417.8 kB / 420.5 MB, free: 3.609 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.267e-05/0.1515, allocations: 29.7 kB / 420.5 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.1515, allocations: 4 kB / 420.5 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.866e-06/0.1515, allocations: 0 / 420.5 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000318/0.1518, allocations: 71.89 kB / 420.6 MB, free: 3.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.1518, allocations: 4 kB / 420.6 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002711/0.1521, allocations: 51.81 kB / 420.7 MB, free: 3.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.1521, allocations: 11.98 kB / 420.7 MB, free: 3.434 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 (simFasBui.powElePul.count,$PRE.simFasBui.powElePul.count,simFasBui.powElePul.T_start,$PRE.simFasBui.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 0.0001911/0.1523, allocations: 161.8 kB / 420.8 MB, free: 3.266 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.334e-05/0.1524, allocations: 27.66 kB / 420.9 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007746/0.1532, allocations: 356.5 kB / 421.2 MB, free: 2.883 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1532, allocations: 0 / 421.2 MB, free: 2.883 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.1532, allocations: 0 / 421.2 MB, free: 2.883 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.1532, allocations: 4 kB / 421.2 MB, free: 2.879 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004269/0.1536, allocations: 385.3 kB / 421.6 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.1536, allocations: 0 / 421.6 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000352/0.154, allocations: 67.89 kB / 421.6 MB, free: 2.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.186e-05/0.154, allocations: 11.94 kB / 421.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/0.1541, allocations: 7.984 kB / 421.7 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.1541, allocations: 0 / 421.7 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1541, allocations: 0 / 421.7 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/0.1553, allocations: 0.5215 MB / 422.2 MB, free: 1.828 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001462/0.1555, allocations: 108.7 kB / 422.3 MB, free: 1.703 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.07e-05/0.1555, allocations: 8 kB / 422.3 MB, free: 1.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.1557, allocations: 23.97 kB / 422.3 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.296e-05/0.1558, allocations: 35.97 kB / 422.4 MB, free: 1.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.1558, allocations: 7.984 kB / 422.4 MB, free: 1.629 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001872/0.156, allocations: 168.5 kB / 422.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.452e-06/0.156, allocations: 0 / 422.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003202/0.1564, allocations: 71.78 kB / 422.6 MB, free: 1.391 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000108/0.1565, allocations: 99.25 kB / 422.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007393/0.1572, allocations: 378.4 kB / 423.1 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1572, allocations: 192 / 423.1 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000348/0.1576, allocations: 163.8 kB / 423.2 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.1579, allocations: 32.42 kB / 423.3 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2335/0.3914, allocations: 0.7699 MB / 424 MB, free: 46.46 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002445/0.3917, allocations: 0.7717 MB / 424.8 MB, free: 45.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002095/0.3919, allocations: 31.17 kB / 424.8 MB, free: 45.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.482e-05/0.392, allocations: 21.02 kB / 424.9 MB, free: 45.77 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.392, allocations: 2.5 kB / 424.9 MB, free: 45.77 MB / 350.1 MB Notification: Performance of Templates: time 0.005055/0.3971, allocations: 2.49 MB / 427.3 MB, free: 45.73 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: