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.001179/0.001179, allocations: 107.6 kB / 17.02 MB, free: 5.66 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.001149/0.001149, allocations: 192.1 kB / 17.97 MB, free: 5.062 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.254/1.254, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6909/0.6909, allocations: 115.1 MB / 406.9 MB, free: 6.352 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 67.88 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3563, allocations: 76.15 MB / 0.5576 GB, free: 36.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003778/0.3602, allocations: 2.59 MB / 0.5601 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.3615, allocations: 0.9046 MB / 0.561 GB, free: 34.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001989/0.3618, allocations: 12.19 kB / 0.561 GB, free: 34.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001886/0.362, allocations: 63.52 kB / 0.5611 GB, free: 34.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.3621, allocations: 63.59 kB / 0.5611 GB, free: 34.13 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004228/0.3625, allocations: 229.5 kB / 0.5613 GB, free: 33.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004026/0.3629, allocations: 461.9 kB / 0.5618 GB, free: 33.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003472/0.3633, allocations: 236 kB / 0.562 GB, free: 33.62 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.3634, allocations: 142.9 kB / 0.5621 GB, free: 33.53 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.3636, allocations: 151.6 kB / 0.5623 GB, free: 33.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.219e-05/0.3637, allocations: 49.03 kB / 0.5623 GB, free: 33.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.523e-05/0.3637, allocations: 51.28 kB / 0.5624 GB, free: 33.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.358e-05/0.3638, allocations: 86.73 kB / 0.5625 GB, free: 33.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.3639, allocations: 186.4 kB / 0.5626 GB, free: 33.22 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006063/0.3645, allocations: 0.6239 MB / 0.5632 GB, free: 32.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3646, allocations: 0.75 kB / 0.5632 GB, free: 32.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3646, allocations: 1.5 kB / 0.5632 GB, free: 32.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.697e-06/0.3646, allocations: 0.75 kB / 0.5632 GB, free: 32.96 MB / 446.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.0008027/0.3654, allocations: 0.6476 MB / 0.5639 GB, free: 32.42 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.3654, allocations: 9.406 kB / 0.5639 GB, free: 32.42 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.928e-05/0.3655, allocations: 40.88 kB / 0.5639 GB, free: 32.4 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004559/0.366, allocations: 396.5 kB / 0.5643 GB, free: 32.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.366, allocations: 28.09 kB / 0.5643 GB, free: 32.06 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.48e-05/0.366, allocations: 25.78 kB / 0.5644 GB, free: 32.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005149/0.3666, allocations: 325.9 kB / 0.5647 GB, free: 31.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.3666, allocations: 0.9062 kB / 0.5647 GB, free: 31.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.738e-05/0.3666, allocations: 16.38 kB / 0.5647 GB, free: 31.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.3666, allocations: 6.219 kB / 0.5647 GB, free: 31.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004544/0.3671, allocations: 231.1 kB / 0.5649 GB, free: 31.78 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001353/0.3685, allocations: 1.159 MB / 0.566 GB, free: 30.97 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004421/0.3689, allocations: 231 kB / 0.5663 GB, free: 30.86 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/0.3691, allocations: 99.3 kB / 0.5664 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.3691, allocations: 2.5 kB / 0.5664 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.3692, allocations: 37.38 kB / 0.5664 GB, free: 30.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.813e-06/0.3692, allocations: 3.75 kB / 0.5664 GB, free: 30.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006105/0.3698, allocations: 299.4 kB / 0.5667 GB, free: 30.63 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.3698, allocations: 83.92 kB / 0.5668 GB, free: 30.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003171/0.3702, allocations: 329.8 kB / 0.5671 GB, free: 30.35 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.3702, allocations: 27.3 kB / 0.5671 GB, free: 30.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.3703, allocations: 199.7 kB / 0.5673 GB, free: 30.15 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.385e-05/0.3703, allocations: 55.27 kB / 0.5673 GB, free: 30.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.975e-05/0.3704, allocations: 40.2 kB / 0.5674 GB, free: 30.08 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.107e-05/0.3705, allocations: 341 kB / 0.5677 GB, free: 29.76 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/0.3707, allocations: 89.48 kB / 0.5678 GB, free: 29.71 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001767/0.3709, allocations: 116.2 kB / 0.5679 GB, free: 29.65 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003092/0.3712, allocations: 188.3 kB / 0.5681 GB, free: 29.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3712, allocations: 0 / 0.5681 GB, free: 29.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004056/0.3716, allocations: 260.4 kB / 0.5683 GB, free: 29.42 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.3716, allocations: 5.781 kB / 0.5683 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.3716, allocations: 5.031 kB / 0.5683 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.3717, allocations: 3.281 kB / 0.5683 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/0.3718, allocations: 29.56 kB / 0.5684 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.3719, allocations: 2.469 kB / 0.5684 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.372, allocations: 28.2 kB / 0.5684 GB, free: 29.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.372, allocations: 8.484 kB / 0.5684 GB, free: 29.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002019/0.3722, allocations: 197.1 kB / 0.5686 GB, free: 29.26 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001369/0.3724, allocations: 102.3 kB / 0.5687 GB, free: 29.19 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002264/0.3726, allocations: 166 kB / 0.5689 GB, free: 29.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.213e-06/0.3726, allocations: 0.5 kB / 0.5689 GB, free: 29.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003227/0.3729, allocations: 225.6 kB / 0.5691 GB, free: 28.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.885e-06/0.3729, allocations: 5.688 kB / 0.5691 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-06/0.373, allocations: 4.641 kB / 0.5691 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.106e-06/0.373, allocations: 3 kB / 0.5691 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.3731, allocations: 24.06 kB / 0.5691 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.564e-06/0.3731, allocations: 2.188 kB / 0.5691 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.3732, allocations: 19.7 kB / 0.5691 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.3732, allocations: 8.812 kB / 0.5691 GB, free: 28.96 MB / 446.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.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 7.271e-05/0.3733, allocations: 190.4 kB / 0.5693 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.997e-05/0.3734, allocations: 30.12 kB / 0.5693 GB, free: 28.76 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.289e-05/0.3734, allocations: 40.56 kB / 0.5694 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3734, allocations: 1.688 kB / 0.5694 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3735, allocations: 1.562 kB / 0.5694 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3735, allocations: 4.734 kB / 0.5694 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004114/0.3739, allocations: 415.8 kB / 0.5698 GB, free: 28.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3739, allocations: 0.7031 kB / 0.5698 GB, free: 28.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.3741, allocations: 29.06 kB / 0.5698 GB, free: 28.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.3741, allocations: 1.969 kB / 0.5698 GB, free: 28.42 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.3741, allocations: 1.938 kB / 0.5698 GB, free: 28.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.3741, allocations: 3.938 kB / 0.5698 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3741, allocations: 1.781 kB / 0.5698 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000593/0.3747, allocations: 438.5 kB / 0.5702 GB, free: 28.15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.3748, allocations: 129.2 kB / 0.5704 GB, free: 28.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.648e-05/0.3749, allocations: 5.75 kB / 0.5704 GB, free: 28.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.375, allocations: 9.297 kB / 0.5704 GB, free: 28.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.52e-05/0.375, allocations: 22.92 kB / 0.5704 GB, free: 28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.3751, allocations: 3.312 kB / 0.5704 GB, free: 28 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002005/0.3753, allocations: 235.2 kB / 0.5706 GB, free: 27.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3753, allocations: 1.969 kB / 0.5706 GB, free: 27.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003752/0.3757, allocations: 91.53 kB / 0.5707 GB, free: 27.85 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.989e-05/0.3757, allocations: 105.8 kB / 0.5708 GB, free: 27.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005296/0.3763, allocations: 284.2 kB / 0.5711 GB, free: 27.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3763, allocations: 5.062 kB / 0.5711 GB, free: 27.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001643/0.3765, allocations: 98.72 kB / 0.5712 GB, free: 27.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005074/0.377, allocations: 83.23 kB / 0.5713 GB, free: 27.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009387/0.3779, allocations: 0.5404 MB / 0.5718 GB, free: 27.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002154/0.3782, allocations: 0.7757 MB / 0.5726 GB, free: 26.55 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000133/0.3783, allocations: 29.14 kB / 0.5726 GB, free: 26.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.159e-05/0.3784, allocations: 24.94 kB / 0.5726 GB, free: 26.54 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3784, allocations: 1.719 kB / 0.5726 GB, free: 26.54 MB / 446.1 MB Notification: Performance of Templates: time 0.007294/0.3857, allocations: 3.155 MB / 0.5757 GB, free: 26.32 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)