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.001094/0.001094, allocations: 113.3 kB / 17.09 MB, free: 5.957 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.001141/0.001141, allocations: 198.8 kB / 18.03 MB, free: 5.035 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.41/1.41, allocations: 222.9 MB / 241.7 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7829/0.7829, allocations: 126.1 MB / 417.9 MB, free: 12.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 62.08 kB / 0.5737 GB, free: 27.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1377, allocations: 78.71 MB / 0.6506 GB, free: 4.137 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003952/0.1417, allocations: 2.591 MB / 0.6531 GB, free: 1.523 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001581/0.1433, allocations: 0.9117 MB / 0.654 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002474/0.1435, allocations: 8 kB / 0.654 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002209/0.1438, allocations: 67.33 kB / 0.6541 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000189/0.144, allocations: 75.33 kB / 0.6541 GB, free: 468 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005001/0.1445, allocations: 237.1 kB / 0.6544 GB, free: 232 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004752/0.145, allocations: 455.7 kB / 0.6548 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003377/0.1453, allocations: 221.1 kB / 0.655 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.1455, allocations: 151.3 kB / 0.6552 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/0.1457, allocations: 147.2 kB / 0.6553 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.452e-05/0.1457, allocations: 52 kB / 0.6554 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.689e-05/0.1458, allocations: 48 kB / 0.6554 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.579e-05/0.1459, allocations: 99.64 kB / 0.6555 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001397/0.146, allocations: 183.1 kB / 0.6557 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005825/0.1466, allocations: 0.6188 MB / 0.6563 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1466, allocations: 3.984 kB / 0.6563 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1466, allocations: 4 kB / 0.6563 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.161e-05/0.1467, allocations: 0 / 0.6563 GB, free: 14.26 MB / 0.4981 GB 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.001002/0.1477, allocations: 0.6581 MB / 0.6569 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.1477, allocations: 12.03 kB / 0.6569 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.331e-05/0.1478, allocations: 48.64 kB / 0.657 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005056/0.1483, allocations: 391.5 kB / 0.6574 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.331e-05/0.1484, allocations: 24.88 kB / 0.6574 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.728e-05/0.1484, allocations: 32.38 kB / 0.6574 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005604/0.149, allocations: 321.7 kB / 0.6577 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.149, allocations: 0 / 0.6577 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.041e-05/0.149, allocations: 12 kB / 0.6577 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.1491, allocations: 8 kB / 0.6577 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004811/0.1495, allocations: 242.1 kB / 0.658 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001513/0.1511, allocations: 1.155 MB / 0.6591 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004687/0.1516, allocations: 230 kB / 0.6593 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.1518, allocations: 107.9 kB / 0.6594 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.981e-05/0.1518, allocations: 4 kB / 0.6594 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.1518, allocations: 30.56 kB / 0.6594 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.1518, allocations: 0 / 0.6594 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.0006612/0.1525, allocations: 297.4 kB / 0.6597 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.1525, allocations: 81.11 kB / 0.6598 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000329/0.1529, allocations: 332.5 kB / 0.6601 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.1529, allocations: 29.7 kB / 0.6602 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.1531, allocations: 196.3 kB / 0.6603 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.17e-05/0.1531, allocations: 55.53 kB / 0.6604 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.69e-05/0.1532, allocations: 45.66 kB / 0.6604 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.1533, allocations: 346.7 kB / 0.6608 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/0.1535, allocations: 96.77 kB / 0.6609 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/0.1537, allocations: 117.3 kB / 0.661 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003515/0.1541, allocations: 180.5 kB / 0.6611 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1541, allocations: 0 / 0.6611 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004618/0.1546, allocations: 262.7 kB / 0.6614 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.1546, allocations: 4 kB / 0.6614 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.1546, allocations: 4 kB / 0.6614 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.1546, allocations: 0 / 0.6614 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.1548, allocations: 31.92 kB / 0.6614 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.1548, allocations: 4 kB / 0.6614 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.155, allocations: 35.83 kB / 0.6615 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.155, allocations: 11.94 kB / 0.6615 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000235/0.1553, allocations: 195.6 kB / 0.6617 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001531/0.1554, allocations: 99.41 kB / 0.6618 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002652/0.1557, allocations: 176.3 kB / 0.6619 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.222e-06/0.1557, allocations: 0 / 0.6619 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003659/0.1561, allocations: 226.7 kB / 0.6621 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.1561, allocations: 11.94 kB / 0.6622 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-06/0.1561, allocations: 0 / 0.6622 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.559e-06/0.1561, allocations: 3.984 kB / 0.6622 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.1563, allocations: 27.94 kB / 0.6622 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.1563, allocations: 0 / 0.6622 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.1564, allocations: 24 kB / 0.6622 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.1564, allocations: 4 kB / 0.6622 GB, free: 7.891 MB / 0.4981 GB 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.oveWriAct_activate,expMod.oveWriSet_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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001069/0.1565, allocations: 192.1 kB / 0.6624 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.517e-05/0.1566, allocations: 31.77 kB / 0.6624 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.327e-05/0.1567, allocations: 35.28 kB / 0.6625 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1567, allocations: 0 / 0.6625 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1567, allocations: 4 kB / 0.6625 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.1568, allocations: 136.8 kB / 0.6626 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.803e-05/0.1568, allocations: 4 kB / 0.6626 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.157, allocations: 15.98 kB / 0.6626 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.85e-05/0.1571, allocations: 11.98 kB / 0.6626 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005804/0.1576, allocations: 300.8 kB / 0.6629 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000699/0.1584, allocations: 0.5212 MB / 0.6634 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001846/0.1586, allocations: 95.98 kB / 0.6635 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002178/0.1588, allocations: 231.1 kB / 0.6637 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of Backend: time 2.3e-07/0.1588, allocations: 0 / 0.6637 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007255/0.1595, allocations: 293.1 kB / 0.664 GB, free: 6 MB / 0.4981 GB Notification: Performance of SimCode: time 0.00114/0.1607, allocations: 1.002 MB / 0.665 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of Templates: time 0.008185/0.1689, allocations: 4.298 MB / 0.6692 GB, free: 0.6836 MB / 0.4981 GB 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)