Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008952/0.0008952, allocations: 97.52 kB / 15.69 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009122/0.0009122, allocations: 178.3 kB / 16.57 MB, free: 6.477 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.341/1.341, allocations: 223.2 MB / 240.5 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.674/0.674, allocations: 113.8 MB / 405.4 MB, free: 4.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003524/0.0003525, allocations: 8 kB / 493 MB, free: 8.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.141, allocations: 77.15 MB / 0.5568 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.002456/0.1435, allocations: 2.177 MB / 0.559 GB, free: 9.402 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.1447, allocations: 0.8263 MB / 0.5598 GB, free: 8.57 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001542/0.1449, allocations: 11.94 kB / 0.5598 GB, free: 8.559 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.739e-05/0.1449, allocations: 23.72 kB / 0.5598 GB, free: 8.535 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000307/0.1452, allocations: 87.67 kB / 0.5599 GB, free: 8.449 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003064/0.1455, allocations: 143.3 kB / 0.56 GB, free: 8.312 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003417/0.1459, allocations: 244.2 kB / 0.5603 GB, free: 8.074 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002246/0.1461, allocations: 152.3 kB / 0.5604 GB, free: 7.922 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.864e-05/0.1462, allocations: 83.45 kB / 0.5605 GB, free: 7.84 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.1463, allocations: 95.38 kB / 0.5606 GB, free: 7.746 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.542e-05/0.1464, allocations: 8 kB / 0.5606 GB, free: 7.738 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.475e-05/0.1464, allocations: 11.94 kB / 0.5606 GB, free: 7.727 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.837e-05/0.1465, allocations: 39.77 kB / 0.5606 GB, free: 7.688 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.602e-05/0.1465, allocations: 89.52 kB / 0.5607 GB, free: 7.594 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003642/0.1469, allocations: 495 kB / 0.5612 GB, free: 7.109 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.1469, allocations: 0 / 0.5612 GB, free: 7.109 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1469, allocations: 0 / 0.5612 GB, free: 7.109 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.1469, allocations: 0 / 0.5612 GB, free: 7.109 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0007419/0.1477, allocations: 0.5805 MB / 0.5618 GB, free: 6.477 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.1477, allocations: 12.02 kB / 0.5618 GB, free: 6.465 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.949e-05/0.1478, allocations: 43.44 kB / 0.5618 GB, free: 6.422 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004146/0.1482, allocations: 374.2 kB / 0.5622 GB, free: 6.02 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.956e-05/0.1482, allocations: 24.56 kB / 0.5622 GB, free: 5.996 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.453e-05/0.1483, allocations: 32 kB / 0.5622 GB, free: 5.965 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005374/0.1488, allocations: 329.3 kB / 0.5625 GB, free: 5.629 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.1489, allocations: 0 / 0.5625 GB, free: 5.629 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.996e-05/0.1489, allocations: 12 kB / 0.5625 GB, free: 5.617 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.1489, allocations: 12 kB / 0.5626 GB, free: 5.605 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004673/0.1494, allocations: 246.1 kB / 0.5628 GB, free: 5.363 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001401/0.1508, allocations: 1.174 MB / 0.5639 GB, free: 4.129 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005316/0.1513, allocations: 250.8 kB / 0.5642 GB, free: 3.875 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.1514, allocations: 4 kB / 0.5642 GB, free: 3.871 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.1514, allocations: 34.56 kB / 0.5642 GB, free: 3.828 MB / 430.1 MB Notification: Performance of pre-optimization done (n=16): time 1.463e-06/0.1514, allocations: 0 / 0.5642 GB, free: 3.828 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006519/0.1521, allocations: 322.4 kB / 0.5645 GB, free: 3.508 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.1521, allocations: 77.11 kB / 0.5646 GB, free: 3.414 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003183/0.1524, allocations: 328.5 kB / 0.5649 GB, free: 3.078 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.1525, allocations: 25.7 kB / 0.5649 GB, free: 3.047 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.1526, allocations: 196.1 kB / 0.5651 GB, free: 2.852 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.273e-05/0.1527, allocations: 51.2 kB / 0.5652 GB, free: 2.801 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.081e-05/0.1527, allocations: 8 kB / 0.5652 GB, free: 2.793 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.1528, allocations: 342.8 kB / 0.5655 GB, free: 2.449 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/0.153, allocations: 87.92 kB / 0.5656 GB, free: 2.363 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.1532, allocations: 123.4 kB / 0.5657 GB, free: 2.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.1534, allocations: 87.98 kB / 0.5658 GB, free: 2.145 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.1534, allocations: 0 / 0.5658 GB, free: 2.145 MB / 430.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004575/0.1539, allocations: 271.3 kB / 0.566 GB, free: 1.875 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.154, allocations: 275 kB / 0.5663 GB, free: 1.586 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.154, allocations: 0 / 0.5663 GB, free: 1.586 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.154, allocations: 0 / 0.5663 GB, free: 1.586 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.1542, allocations: 39.97 kB / 0.5663 GB, free: 1.547 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.1542, allocations: 4 kB / 0.5663 GB, free: 1.543 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.1543, allocations: 19.84 kB / 0.5664 GB, free: 1.523 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.1544, allocations: 15.94 kB / 0.5664 GB, free: 1.508 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.394e-06/0.1544, allocations: 4 kB / 0.5664 GB, free: 1.504 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003053/0.1547, allocations: 174.3 kB / 0.5666 GB, free: 1.336 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1547, allocations: 7.938 kB / 0.5666 GB, free: 1.328 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-06/0.1547, allocations: 0 / 0.5666 GB, free: 1.328 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.1548, allocations: 31.98 kB / 0.5666 GB, free: 1.297 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-06/0.1548, allocations: 0 / 0.5666 GB, free: 1.297 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.155, allocations: 23.84 kB / 0.5666 GB, free: 1.273 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.155, allocations: 11.89 kB / 0.5666 GB, free: 1.262 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (expMod.oveWriSet_activate,expMod.oveWriAct_activate,expMod.mod.conPI.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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.0001705/0.1552, allocations: 248.4 kB / 0.5669 GB, free: 1.012 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.359e-05/0.1552, allocations: 31.62 kB / 0.5669 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.972e-05/0.1553, allocations: 35.27 kB / 0.5669 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.1553, allocations: 0 / 0.5669 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.1553, allocations: 4 kB / 0.5669 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1553, allocations: 0 / 0.5669 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004051/0.1557, allocations: 413.2 kB / 0.5673 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1557, allocations: 4 kB / 0.5673 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.1559, allocations: 23.98 kB / 0.5674 GB, free: 476 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1559, allocations: 4 kB / 0.5674 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.156, allocations: 4 kB / 0.5674 GB, free: 468 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/0.156, allocations: 7.938 kB / 0.5674 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.156, allocations: 0 / 0.5674 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006767/0.1567, allocations: 456.6 kB / 0.5678 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.1568, allocations: 132.6 kB / 0.5679 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.73e-05/0.1568, allocations: 8.047 kB / 0.5679 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.157, allocations: 12 kB / 0.5679 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.157, allocations: 11.98 kB / 0.568 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.1571, allocations: 0 / 0.568 GB, free: 15.81 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002132/0.1573, allocations: 235.1 kB / 0.5682 GB, free: 15.58 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1573, allocations: 0 / 0.5682 GB, free: 15.58 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003921/0.1577, allocations: 91.59 kB / 0.5683 GB, free: 15.49 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (expMod.mod.conPI.I.y,expMod.mod.firOrd.y) * Number of discrete variables: 2 (expMod.oveWriSet_activate,expMod.oveWriAct_activate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 9.166e-05/0.1578, allocations: 107.9 kB / 0.5684 GB, free: 15.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005608/0.1583, allocations: 294 kB / 0.5687 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1584, allocations: 4 kB / 0.5687 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001886/0.1586, allocations: 99.91 kB / 0.5688 GB, free: 14.99 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004505/0.159, allocations: 88.02 kB / 0.5688 GB, free: 14.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009466/0.16, allocations: 0.6364 MB / 0.5695 GB, free: 14.24 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.1603, allocations: 0.7833 MB / 0.5702 GB, free: 13.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001182/0.1604, allocations: 34.27 kB / 0.5703 GB, free: 13.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.02e-05/0.1605, allocations: 19.44 kB / 0.5703 GB, free: 13.38 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1605, allocations: 0 / 0.5703 GB, free: 13.38 MB / 446.1 MB Notification: Performance of Templates: time 0.005709/0.1662, allocations: 2.835 MB / 0.573 GB, free: 10.59 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)