Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.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.Input.SIM_2Zones_Artificial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial") translateModel(FastBuildings.Input.SIM_2Zones_Artificial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001001, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.008121/0.008122, allocations: 171.8 kB / 16.26 MB, free: 6.613 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.571/1.571, 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.1752/0.1752, allocations: 4.63 MB / 296.1 MB, free: 4.027 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003973/0.0003972, allocations: 8 kB / 358.3 MB, free: 2.148 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1353, allocations: 51.49 MB / 409.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_2Zones_Artificial): time 0.002268/0.1376, allocations: 1.414 MB / 411.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.1387, allocations: 470.9 kB / 411.7 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.1388, allocations: 0 / 411.7 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.139, allocations: 7.922 kB / 411.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001235/0.1391, allocations: 19.8 kB / 411.7 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002754/0.1394, allocations: 31.97 kB / 411.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000201/0.1396, allocations: 111.6 kB / 411.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001906/0.1398, allocations: 53.06 kB / 411.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001815/0.14, allocations: 43.78 kB / 411.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.1401, allocations: 55.69 kB / 412 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.1401, allocations: 4 kB / 412 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.898e-05/0.1402, allocations: 7.938 kB / 412 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.949e-05/0.1402, allocations: 15.92 kB / 412 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.1403, allocations: 73.38 kB / 412.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.1405, allocations: 99.88 kB / 412.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1405, allocations: 0 / 412.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1405, allocations: 0 / 412.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.1406, allocations: 0 / 412.2 MB, free: 12.2 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009359/0.1415, allocations: 456.8 kB / 412.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.1416, allocations: 8.031 kB / 412.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.191e-05/0.1416, allocations: 16.75 kB / 412.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.1419, allocations: 204.6 kB / 412.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.1419, allocations: 4.375 kB / 412.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.422e-05/0.142, allocations: 12.12 kB / 412.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004405/0.1424, allocations: 179.4 kB / 413.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.1424, allocations: 7.984 kB / 413.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.1425, allocations: 8 kB / 413.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1425, allocations: 0 / 413.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004413/0.1429, allocations: 151.8 kB / 413.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001/0.1439, allocations: 0.7276 MB / 413.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000569/0.1445, allocations: 290 kB / 414.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002623/0.1448, allocations: 108.3 kB / 414.3 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.271e-05/0.1448, allocations: 4 kB / 414.3 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004072/0.1453, allocations: 171.5 kB / 414.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 3.105e-06/0.1453, allocations: 0 / 414.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.000899/0.1462, allocations: 289.3 kB / 414.8 MB, free: 9.312 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.1463, allocations: 158.2 kB / 414.9 MB, free: 9.121 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.1465, allocations: 166.2 kB / 415.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.1465, allocations: 33.89 kB / 415.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.149e-05/0.1466, allocations: 104 kB / 415.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.782e-05/0.1467, allocations: 35.47 kB / 415.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.085e-05/0.1467, allocations: 21.7 kB / 415.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.1469, allocations: 322.8 kB / 415.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002323/0.1471, allocations: 75.94 kB / 415.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002419/0.1474, allocations: 111.7 kB / 415.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004687/0.1478, allocations: 201.8 kB / 416 MB, free: 8.004 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.1478, allocations: 4 kB / 416 MB, free: 8 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006034/0.1485, allocations: 251.1 kB / 416.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.764e-05/0.1485, allocations: 37.8 kB / 416.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.1485, allocations: 0 / 416.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.1486, allocations: 7.938 kB / 416.3 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001866/0.1488, allocations: 35.91 kB / 416.3 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.948e-06/0.1488, allocations: 7.938 kB / 416.3 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001811/0.149, allocations: 35.83 kB / 416.4 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.149, allocations: 7.984 kB / 416.4 MB, free: 7.605 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (13): * Single equations (assignments): 12 * 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.0001558/0.1492, allocations: 129.8 kB / 416.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.282e-05/0.1492, allocations: 7.906 kB / 416.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002301/0.1494, allocations: 93.78 kB / 416.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.1494, allocations: 7.938 kB / 416.6 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.1495, allocations: 8.016 kB / 416.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1495, allocations: 0 / 416.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004573/0.1499, allocations: 437.7 kB / 417 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.15, allocations: 3.938 kB / 417 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001489/0.1501, allocations: 39.94 kB / 417.1 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/0.1501, allocations: 4.062 kB / 417.1 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.1501, allocations: 7.984 kB / 417.1 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.1502, allocations: 4 kB / 417.1 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.1502, allocations: 480 / 417.1 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006052/0.1508, allocations: 385.2 kB / 417.5 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.191e-05/0.1509, allocations: 108.7 kB / 417.6 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.056e-05/0.1509, allocations: 4 kB / 417.6 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/0.1511, allocations: 23.98 kB / 417.6 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.797e-05/0.1512, allocations: 23.97 kB / 417.6 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.1512, allocations: 4 kB / 417.6 MB, free: 6.211 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001098/0.1513, allocations: 124.1 kB / 417.8 MB, free: 6.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1514, allocations: 3.938 kB / 417.8 MB, free: 6.086 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003081/0.1517, allocations: 24 kB / 417.8 MB, free: 6.062 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * 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 (11): * Single equations (assignments): 9 * 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.0001129/0.1518, allocations: 99.19 kB / 417.9 MB, free: 5.957 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005923/0.1524, allocations: 231.1 kB / 418.1 MB, free: 5.719 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1524, allocations: 4.188 kB / 418.1 MB, free: 5.715 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002795/0.1527, allocations: 95.88 kB / 418.2 MB, free: 5.621 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004213/0.1531, allocations: 28.81 kB / 418.2 MB, free: 5.598 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006934/0.1538, allocations: 325.2 kB / 418.5 MB, free: 5.238 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.1542, allocations: 0.7199 MB / 419.3 MB, free: 4.492 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.327e-05/0.1543, allocations: 20.55 kB / 419.3 MB, free: 4.473 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.892e-05/0.1543, allocations: 15.42 kB / 419.3 MB, free: 4.457 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1543, allocations: 0 / 419.3 MB, free: 4.457 MB / 350.1 MB Notification: Performance of Templates: time 0.004356/0.1587, allocations: 1.202 MB / 420.5 MB, free: 3.262 MB / 350.1 MB make -j1 -f FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.makefile Environment - environmentSimulation: (rm -f FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe ; mkfifo FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe >> ../files/FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.sim & ./FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe 2>&1) Environment - environmentSimulation: