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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001091/0.001092, allocations: 189.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.491/0.491, allocations: 87.5 MB / 104.9 MB, free: 13.01 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 349.1 MB, free: 2.738 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009742/0.0009742, allocations: 111 kB / 420 MB, free: 8.477 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 55.92 kB / 0.4891 GB, free: 7.676 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3626, allocations: 70.06 MB / 0.5575 GB, free: 44.78 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003484/0.3662, allocations: 2.631 MB / 0.5601 GB, free: 42.54 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.3674, allocations: 0.8754 MB / 0.5609 GB, free: 41.66 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001891/0.3676, allocations: 11.94 kB / 0.5609 GB, free: 41.65 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001835/0.3677, allocations: 43.64 kB / 0.561 GB, free: 41.61 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001251/0.3679, allocations: 54.47 kB / 0.561 GB, free: 41.55 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003798/0.3683, allocations: 220.5 kB / 0.5612 GB, free: 41.34 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002622/0.3686, allocations: 403.7 kB / 0.5616 GB, free: 40.95 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002685/0.3688, allocations: 221.1 kB / 0.5618 GB, free: 40.73 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.42e-05/0.3689, allocations: 107.3 kB / 0.5619 GB, free: 40.62 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.369, allocations: 131.2 kB / 0.5621 GB, free: 40.49 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.502e-05/0.3691, allocations: 16 kB / 0.5621 GB, free: 40.48 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.775e-05/0.3691, allocations: 16 kB / 0.5621 GB, free: 40.46 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.813e-05/0.3691, allocations: 63.62 kB / 0.5621 GB, free: 40.4 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.971e-05/0.3692, allocations: 143.1 kB / 0.5623 GB, free: 40.26 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000305/0.3695, allocations: 0.5745 MB / 0.5628 GB, free: 39.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3696, allocations: 0 / 0.5628 GB, free: 39.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.3696, allocations: 4 kB / 0.5628 GB, free: 39.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.3696, allocations: 0 / 0.5628 GB, free: 39.68 MB / 410.7 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.0007332/0.3703, allocations: 0.6545 MB / 0.5635 GB, free: 38.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.3703, allocations: 8.031 kB / 0.5635 GB, free: 38.97 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.823e-05/0.3704, allocations: 40.47 kB / 0.5635 GB, free: 38.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/0.3707, allocations: 391.2 kB / 0.5639 GB, free: 38.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.3708, allocations: 20.94 kB / 0.5639 GB, free: 38.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.989e-05/0.3708, allocations: 32.27 kB / 0.564 GB, free: 38.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004416/0.3713, allocations: 329.7 kB / 0.5643 GB, free: 38.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.3713, allocations: 3.938 kB / 0.5643 GB, free: 38.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/0.3713, allocations: 12 kB / 0.5643 GB, free: 38.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.3713, allocations: 8 kB / 0.5643 GB, free: 38.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003926/0.3717, allocations: 234.1 kB / 0.5645 GB, free: 37.87 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.3728, allocations: 1.167 MB / 0.5657 GB, free: 36.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003874/0.3732, allocations: 228.4 kB / 0.5659 GB, free: 36.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/0.3734, allocations: 96.83 kB / 0.566 GB, free: 36.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.3734, allocations: 4 kB / 0.566 GB, free: 36.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.3735, allocations: 34.56 kB / 0.566 GB, free: 36.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.242e-06/0.3735, allocations: 0 / 0.566 GB, free: 36.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.000544/0.374, allocations: 301.1 kB / 0.5663 GB, free: 35.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.3741, allocations: 85.11 kB / 0.5664 GB, free: 35.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002383/0.3743, allocations: 332.4 kB / 0.5667 GB, free: 35.53 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.3743, allocations: 29.7 kB / 0.5667 GB, free: 35.49 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.738e-05/0.3744, allocations: 192.2 kB / 0.5669 GB, free: 35.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.3745, allocations: 59.19 kB / 0.567 GB, free: 35.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.151e-05/0.3745, allocations: 41.61 kB / 0.567 GB, free: 35.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.467e-05/0.3746, allocations: 342.8 kB / 0.5673 GB, free: 34.85 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.3748, allocations: 92.78 kB / 0.5674 GB, free: 34.76 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.3749, allocations: 117.8 kB / 0.5675 GB, free: 34.63 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002851/0.3752, allocations: 188.4 kB / 0.5677 GB, free: 34.44 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3752, allocations: 4 kB / 0.5677 GB, free: 34.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003645/0.3756, allocations: 261 kB / 0.568 GB, free: 34.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.3756, allocations: 8 kB / 0.568 GB, free: 34.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3756, allocations: 0 / 0.568 GB, free: 34.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.3756, allocations: 0 / 0.568 GB, free: 34.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.3758, allocations: 36.05 kB / 0.568 GB, free: 34.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.3758, allocations: 3.938 kB / 0.568 GB, free: 34.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.3759, allocations: 27.77 kB / 0.568 GB, free: 34.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.376, allocations: 7.938 kB / 0.568 GB, free: 34.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001831/0.3762, allocations: 196.1 kB / 0.5682 GB, free: 33.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001155/0.3763, allocations: 95.41 kB / 0.5683 GB, free: 33.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002038/0.3765, allocations: 168.3 kB / 0.5685 GB, free: 33.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.302e-06/0.3765, allocations: 0 / 0.5685 GB, free: 33.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003036/0.3768, allocations: 234.5 kB / 0.5687 GB, free: 33.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.891e-06/0.3768, allocations: 4 kB / 0.5687 GB, free: 33.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-06/0.3768, allocations: 0 / 0.5687 GB, free: 33.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.136e-06/0.3768, allocations: 7.984 kB / 0.5687 GB, free: 33.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.377, allocations: 24 kB / 0.5687 GB, free: 33.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.377, allocations: 8.062 kB / 0.5687 GB, free: 33.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.3771, allocations: 15.83 kB / 0.5688 GB, free: 33.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.3771, allocations: 11.94 kB / 0.5688 GB, free: 33.32 MB / 410.7 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.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 6.97e-05/0.3772, allocations: 188.2 kB / 0.5689 GB, free: 33.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.438e-05/0.3772, allocations: 31.62 kB / 0.569 GB, free: 33.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.687e-05/0.3773, allocations: 35.28 kB / 0.569 GB, free: 33.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3773, allocations: 0 / 0.569 GB, free: 33.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3773, allocations: 0 / 0.569 GB, free: 33.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3773, allocations: 7.938 kB / 0.569 GB, free: 33.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000292/0.3776, allocations: 413.3 kB / 0.5694 GB, free: 32.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3776, allocations: 0 / 0.5694 GB, free: 32.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/0.3778, allocations: 23.98 kB / 0.5694 GB, free: 32.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.3778, allocations: 3.984 kB / 0.5694 GB, free: 32.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.3778, allocations: 7.938 kB / 0.5694 GB, free: 32.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3778, allocations: 4 kB / 0.5695 GB, free: 32.56 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3778, allocations: 0 / 0.5695 GB, free: 32.56 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002892/0.3807, allocations: 2.486 MB / 0.5719 GB, free: 29.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.366e-05/0.3808, allocations: 124.8 kB / 0.572 GB, free: 29.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/0.3809, allocations: 11.94 kB / 0.572 GB, free: 29.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.381, allocations: 7.984 kB / 0.572 GB, free: 29.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.026e-05/0.3811, allocations: 7.984 kB / 0.572 GB, free: 29.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.3811, allocations: 8 kB / 0.572 GB, free: 29.76 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001701/0.3813, allocations: 231.1 kB / 0.5723 GB, free: 29.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3813, allocations: 4.062 kB / 0.5723 GB, free: 29.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005505/0.3818, allocations: 135.5 kB / 0.5724 GB, free: 29.4 MB / 410.7 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.656e-05/0.3819, allocations: 103.2 kB / 0.5725 GB, free: 29.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00049/0.3824, allocations: 285.6 kB / 0.5728 GB, free: 29.01 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3824, allocations: 4.25 kB / 0.5728 GB, free: 29.01 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.3826, allocations: 95.91 kB / 0.5729 GB, free: 28.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005861/0.3832, allocations: 78.59 kB / 0.5729 GB, free: 28.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000944/0.3841, allocations: 0.8481 MB / 0.5738 GB, free: 27.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001644/0.3843, allocations: 0.7797 MB / 0.5745 GB, free: 27.15 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001357/0.3845, allocations: 30.27 kB / 0.5745 GB, free: 27.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.834e-05/0.3845, allocations: 23.44 kB / 0.5746 GB, free: 27.1 MB / 410.7 MB Notification: Performance of SimCode: time 3.31e-07/0.3845, allocations: 0 / 0.5746 GB, free: 27.1 MB / 410.7 MB Notification: Performance of Templates: time 0.005842/0.3904, allocations: 3.639 MB / 0.5781 GB, free: 23.5 MB / 410.7 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)