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.001363/0.001363, allocations: 105.8 kB / 16.52 MB, free: 6.27 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.001436/0.001436, allocations: 193.1 kB / 17.44 MB, free: 5.887 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.362/1.362, allocations: 222.9 MB / 241.1 MB, free: 15.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.711/0.711, allocations: 115.3 MB / 406.6 MB, free: 6.414 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 63.91 kB / 493.6 MB, free: 0.8438 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3385, allocations: 76.18 MB / 0.5564 GB, free: 36.21 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003794/0.3423, allocations: 2.632 MB / 0.5589 GB, free: 34.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001493/0.3438, allocations: 0.8731 MB / 0.5598 GB, free: 33.76 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000385/0.3442, allocations: 12.56 kB / 0.5598 GB, free: 33.75 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002415/0.3445, allocations: 49.94 kB / 0.5599 GB, free: 33.72 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002276/0.3447, allocations: 46.06 kB / 0.5599 GB, free: 33.69 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005083/0.3453, allocations: 224.5 kB / 0.5601 GB, free: 33.53 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004655/0.3457, allocations: 405.2 kB / 0.5605 GB, free: 33.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003334/0.3461, allocations: 218.6 kB / 0.5607 GB, free: 33.22 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.3462, allocations: 113.2 kB / 0.5608 GB, free: 33.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.3464, allocations: 123.6 kB / 0.5609 GB, free: 33.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.183e-05/0.3465, allocations: 20.28 kB / 0.561 GB, free: 33.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.199e-05/0.3465, allocations: 15.81 kB / 0.561 GB, free: 33.08 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.596e-05/0.3466, allocations: 55.06 kB / 0.561 GB, free: 33.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.3467, allocations: 152.4 kB / 0.5612 GB, free: 32.94 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004826/0.3472, allocations: 0.5006 MB / 0.5617 GB, free: 32.78 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.716e-06/0.3472, allocations: 0 / 0.5617 GB, free: 32.78 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.3472, allocations: 1.969 kB / 0.5617 GB, free: 32.78 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.641e-05/0.3472, allocations: 1.781 kB / 0.5617 GB, free: 32.78 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.001034/0.3483, allocations: 0.6452 MB / 0.5623 GB, free: 32.23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.3483, allocations: 15.56 kB / 0.5623 GB, free: 32.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/0.3484, allocations: 48.92 kB / 0.5624 GB, free: 32.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000438/0.3489, allocations: 381.7 kB / 0.5627 GB, free: 31.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.05e-05/0.3489, allocations: 22.31 kB / 0.5627 GB, free: 31.87 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.694e-05/0.349, allocations: 25.06 kB / 0.5628 GB, free: 31.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005986/0.3496, allocations: 341.9 kB / 0.5631 GB, free: 31.67 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.3496, allocations: 1.156 kB / 0.5631 GB, free: 31.67 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.932e-05/0.3496, allocations: 10.72 kB / 0.5631 GB, free: 31.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.3497, allocations: 5.938 kB / 0.5631 GB, free: 31.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004971/0.3502, allocations: 231.9 kB / 0.5633 GB, free: 31.58 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001522/0.3517, allocations: 1.172 MB / 0.5645 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004786/0.3522, allocations: 230.3 kB / 0.5647 GB, free: 30.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001909/0.3524, allocations: 98.69 kB / 0.5648 GB, free: 30.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.3524, allocations: 3.016 kB / 0.5648 GB, free: 30.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.3525, allocations: 33.5 kB / 0.5648 GB, free: 30.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.382e-06/0.3525, allocations: 0 / 0.5648 GB, free: 30.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006529/0.3531, allocations: 303.6 kB / 0.5651 GB, free: 30.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.3532, allocations: 78.52 kB / 0.5652 GB, free: 30.34 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003373/0.3535, allocations: 332.3 kB / 0.5655 GB, free: 30.15 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.3535, allocations: 25.7 kB / 0.5655 GB, free: 30.12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.3536, allocations: 196.8 kB / 0.5657 GB, free: 29.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.552e-05/0.3537, allocations: 59.66 kB / 0.5658 GB, free: 29.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.33e-05/0.3538, allocations: 41.64 kB / 0.5658 GB, free: 29.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.81e-05/0.3539, allocations: 339.5 kB / 0.5661 GB, free: 29.56 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.354, allocations: 93.28 kB / 0.5662 GB, free: 29.51 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/0.3542, allocations: 113.8 kB / 0.5663 GB, free: 29.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003396/0.3546, allocations: 193.3 kB / 0.5665 GB, free: 29.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3546, allocations: 0 / 0.5665 GB, free: 29.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000467/0.3551, allocations: 254.3 kB / 0.5668 GB, free: 29.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.3551, allocations: 6.734 kB / 0.5668 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3551, allocations: 0 / 0.5668 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.3551, allocations: 2.844 kB / 0.5668 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/0.3553, allocations: 34.62 kB / 0.5668 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.3553, allocations: 1.125 kB / 0.5668 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.3555, allocations: 29.39 kB / 0.5668 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.3555, allocations: 3.719 kB / 0.5668 GB, free: 29.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002189/0.3557, allocations: 197.2 kB / 0.567 GB, free: 29.06 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001414/0.3559, allocations: 106.3 kB / 0.5671 GB, free: 28.99 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002444/0.3561, allocations: 172 kB / 0.5673 GB, free: 28.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.293e-06/0.3562, allocations: 1.469 kB / 0.5673 GB, free: 28.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003725/0.3565, allocations: 227.7 kB / 0.5675 GB, free: 28.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.278e-06/0.3566, allocations: 5.125 kB / 0.5675 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-06/0.3566, allocations: 1.156 kB / 0.5675 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.216e-06/0.3566, allocations: 1.469 kB / 0.5675 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.3567, allocations: 26.86 kB / 0.5675 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/0.3567, allocations: 1.312 kB / 0.5675 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.3568, allocations: 21.73 kB / 0.5676 GB, free: 28.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.3569, allocations: 10.97 kB / 0.5676 GB, free: 28.75 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.648e-05/0.3569, allocations: 186 kB / 0.5677 GB, free: 28.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.626e-05/0.357, allocations: 29.78 kB / 0.5678 GB, free: 28.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.457e-05/0.3571, allocations: 37.11 kB / 0.5678 GB, free: 28.53 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.3571, allocations: 6.641 kB / 0.5678 GB, free: 28.53 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.3571, allocations: 6.062 kB / 0.5678 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3571, allocations: 4.734 kB / 0.5678 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003976/0.3575, allocations: 410.5 kB / 0.5682 GB, free: 28.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3575, allocations: 0 / 0.5682 GB, free: 28.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001703/0.3577, allocations: 33.38 kB / 0.5683 GB, free: 28.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.3577, allocations: 0.9375 kB / 0.5683 GB, free: 28.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.3577, allocations: 1.875 kB / 0.5683 GB, free: 28.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3578, allocations: 1.156 kB / 0.5683 GB, free: 28.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3578, allocations: 3.25 kB / 0.5683 GB, free: 28.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006319/0.3584, allocations: 437.3 kB / 0.5687 GB, free: 27.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.3585, allocations: 128.4 kB / 0.5688 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.28e-05/0.3586, allocations: 7.781 kB / 0.5688 GB, free: 27.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.3587, allocations: 8.469 kB / 0.5688 GB, free: 27.81 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.863e-05/0.3588, allocations: 18.3 kB / 0.5688 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.3588, allocations: 7.25 kB / 0.5688 GB, free: 27.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000226/0.359, allocations: 236.4 kB / 0.5691 GB, free: 27.67 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.359, allocations: 3.938 kB / 0.5691 GB, free: 27.67 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004107/0.3594, allocations: 93.23 kB / 0.5692 GB, free: 27.64 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 9.046e-05/0.3595, allocations: 102 kB / 0.5693 GB, free: 27.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005845/0.3601, allocations: 279 kB / 0.5695 GB, free: 27.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3601, allocations: 5.5 kB / 0.5695 GB, free: 27.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000205/0.3604, allocations: 96.3 kB / 0.5696 GB, free: 27.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000625/0.361, allocations: 77.81 kB / 0.5697 GB, free: 27.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.3621, allocations: 0.6858 MB / 0.5704 GB, free: 26.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.3624, allocations: 0.7749 MB / 0.5711 GB, free: 26.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.583e-05/0.3625, allocations: 23.72 kB / 0.5711 GB, free: 26.21 MB / 446.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3625, allocations: 0 / 0.5711 GB, free: 26.21 MB / 446.1 MB Notification: Performance of Templates: time 0.007396/0.3699, allocations: 3.959 MB / 0.575 GB, free: 25.77 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)