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.007035/0.007036, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001628/0.001628, allocations: 194.9 kB / 16.67 MB, free: 5.52 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02244/0.02244, allocations: 4.644 MB / 295.2 MB, free: 10.27 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 63.89 kB / 408.3 MB, free: 27.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.123, allocations: 50.5 MB / 458.8 MB, free: 8.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.TwoZone_ArtificialInputs): time 0.00533/0.1284, allocations: 3.97 MB / 462.8 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001927/0.1304, allocations: 0.9037 MB / 463.7 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002049/0.1306, allocations: 11.94 kB / 463.7 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002625/0.1309, allocations: 83.16 kB / 463.8 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002912/0.1312, allocations: 170.5 kB / 463.9 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004651/0.1317, allocations: 171.8 kB / 464.1 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007586/0.1324, allocations: 0.7597 MB / 464.8 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007551/0.1332, allocations: 0.5119 MB / 465.4 MB, free: 2.043 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004321/0.1336, allocations: 283.2 kB / 465.6 MB, free: 1.766 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003369/0.134, allocations: 298.8 kB / 465.9 MB, free: 1.473 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.1341, allocations: 84 kB / 466 MB, free: 1.391 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.1342, allocations: 84 kB / 466.1 MB, free: 1.309 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001377/0.1344, allocations: 159.5 kB / 466.2 MB, free: 1.152 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003115/0.1347, allocations: 338.6 kB / 466.6 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007243/0.1354, allocations: 0.8335 MB / 467.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1354, allocations: 4 kB / 467.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1354, allocations: 0 / 467.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.828e-06/0.1355, allocations: 0 / 467.4 MB, free: 15.98 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.001626/0.1371, allocations: 0.8913 MB / 468.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.1371, allocations: 12.03 kB / 468.3 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001332/0.1373, allocations: 60.19 kB / 468.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004989/0.1378, allocations: 383.2 kB / 468.7 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.435e-05/0.1378, allocations: 33.38 kB / 468.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.1379, allocations: 48.38 kB / 468.8 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.1391, allocations: 0.5929 MB / 469.4 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.1391, allocations: 0 / 469.4 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.366e-05/0.1392, allocations: 20 kB / 469.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.584e-05/0.1392, allocations: 12 kB / 469.5 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009781/0.1402, allocations: 467.7 kB / 469.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002565/0.1428, allocations: 1.891 MB / 471.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000771/0.1436, allocations: 433.6 kB / 472.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005157/0.1441, allocations: 286.2 kB / 472.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.885e-05/0.1441, allocations: 4.281 kB / 472.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006012/0.1447, allocations: 317.5 kB / 472.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 2.204e-06/0.1448, allocations: 4 kB / 472.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.001458/0.1462, allocations: 0.6519 MB / 473.5 MB, free: 9.672 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/0.1463, allocations: 81.11 kB / 473.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003544/0.1467, allocations: 336.5 kB / 473.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.589e-05/0.1467, allocations: 37.7 kB / 473.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/0.1469, allocations: 252 kB / 474.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.147, allocations: 134.1 kB / 474.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/0.1472, allocations: 74.05 kB / 474.4 MB, free: 8.727 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.1473, allocations: 350.7 kB / 474.7 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004412/0.1478, allocations: 212.7 kB / 474.9 MB, free: 8.168 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004652/0.1482, allocations: 271.4 kB / 475.2 MB, free: 7.875 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008929/0.1491, allocations: 0.5021 MB / 475.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1491, allocations: 0 / 475.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001111/0.1503, allocations: 0.5898 MB / 476.3 MB, free: 6.742 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.849e-05/0.1503, allocations: 44.38 kB / 476.3 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.1503, allocations: 4 kB / 476.3 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.633e-05/0.1504, allocations: 4 kB / 476.3 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005805/0.151, allocations: 115.9 kB / 476.4 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.151, allocations: 4.062 kB / 476.4 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003121/0.1513, allocations: 55.66 kB / 476.5 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.8e-05/0.1514, allocations: 19.94 kB / 476.5 MB, free: 6.496 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 (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 (51): * Single equations (assignments): 50 * 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.0002514/0.1516, allocations: 213.7 kB / 476.7 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.562e-05/0.1517, allocations: 43.52 kB / 476.8 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008628/0.1525, allocations: 461.3 kB / 477.2 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.096e-06/0.1526, allocations: 4 kB / 477.2 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.1526, allocations: 3.938 kB / 477.2 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.1526, allocations: 7.922 kB / 477.2 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006368/0.1532, allocations: 0.5947 MB / 477.8 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1532, allocations: 4 kB / 477.8 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005941/0.1538, allocations: 111.9 kB / 477.9 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.1539, allocations: 3.938 kB / 477.9 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.758e-05/0.1539, allocations: 12 kB / 478 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.1539, allocations: 0 / 478 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1539, allocations: 4 kB / 478 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/0.1554, allocations: 0.7701 MB / 478.7 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.934e-05/0.1555, allocations: 120.6 kB / 478.8 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.214e-05/0.1556, allocations: 12 kB / 478.9 MB, free: 4.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002587/0.1558, allocations: 27.97 kB / 478.9 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.1559, allocations: 35.95 kB / 478.9 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.482e-05/0.156, allocations: 8 kB / 478.9 MB, free: 3.969 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002433/0.1562, allocations: 243 kB / 479.2 MB, free: 3.734 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1562, allocations: 0 / 479.2 MB, free: 3.734 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004166/0.1567, allocations: 135.5 kB / 479.3 MB, free: 3.602 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 (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.0001329/0.1568, allocations: 108.2 kB / 479.4 MB, free: 3.488 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001061/0.1579, allocations: 0.5301 MB / 479.9 MB, free: 2.945 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1579, allocations: 0 / 479.9 MB, free: 2.945 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004956/0.1584, allocations: 245.5 kB / 480.2 MB, free: 2.707 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004192/0.1588, allocations: 65.25 kB / 480.2 MB, free: 2.645 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002468/0.1613, allocations: 1.166 MB / 481.4 MB, free: 1.441 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005449/0.1619, allocations: 0.8618 MB / 482.3 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002254/0.1621, allocations: 62.92 kB / 482.3 MB, free: 500 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.1622, allocations: 27.44 kB / 482.4 MB, free: 476 kB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1622, allocations: 0 / 482.4 MB, free: 476 kB / 350.1 MB Notification: Performance of Templates: time 0.009612/0.1718, allocations: 4.481 MB / 486.8 MB, free: 12.02 MB / 366.1 MB make -j1 -f FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.makefile (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)