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.001553/0.001559, allocations: 97.8 kB / 16.64 MB, free: 6.816 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.00178/0.00178, allocations: 200.8 kB / 17.57 MB, free: 5.93 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.377/1.377, allocations: 222.9 MB / 241.3 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8104/0.8104, allocations: 122.9 MB / 414.2 MB, free: 80 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002237/0.002237, allocations: 63.91 kB / 0.4912 GB, free: 7.848 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3438, allocations: 77.92 MB / 0.5673 GB, free: 32.05 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003501/0.3473, allocations: 2.638 MB / 0.5699 GB, free: 30.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.3487, allocations: 0.8696 MB / 0.5708 GB, free: 29.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001961/0.3489, allocations: 13.25 kB / 0.5708 GB, free: 29.58 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001905/0.3491, allocations: 50.72 kB / 0.5708 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000138/0.3493, allocations: 45.06 kB / 0.5709 GB, free: 29.51 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004186/0.3497, allocations: 217.3 kB / 0.5711 GB, free: 29.36 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003638/0.3501, allocations: 458.3 kB / 0.5715 GB, free: 29.1 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002993/0.3504, allocations: 231.4 kB / 0.5717 GB, free: 28.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.3505, allocations: 141.4 kB / 0.5719 GB, free: 28.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001289/0.3506, allocations: 156.2 kB / 0.572 GB, free: 28.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.087e-05/0.3507, allocations: 50.78 kB / 0.5721 GB, free: 28.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.126e-05/0.3508, allocations: 50 kB / 0.5721 GB, free: 28.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.471e-05/0.3508, allocations: 86.83 kB / 0.5722 GB, free: 28.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.3509, allocations: 186.7 kB / 0.5724 GB, free: 28.58 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000484/0.3514, allocations: 0.5083 MB / 0.5729 GB, free: 28.42 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3514, allocations: 1.375 kB / 0.5729 GB, free: 28.42 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.3514, allocations: 1.25 kB / 0.5729 GB, free: 28.42 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.3515, allocations: 3.938 kB / 0.5729 GB, free: 28.42 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.0007855/0.3523, allocations: 0.6482 MB / 0.5735 GB, free: 27.88 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.3523, allocations: 9.188 kB / 0.5735 GB, free: 27.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.266e-05/0.3524, allocations: 44.31 kB / 0.5735 GB, free: 27.85 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003675/0.3527, allocations: 375.3 kB / 0.5739 GB, free: 27.53 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.3528, allocations: 28.09 kB / 0.5739 GB, free: 27.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.697e-05/0.3528, allocations: 30.81 kB / 0.574 GB, free: 27.51 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005513/0.3534, allocations: 325.8 kB / 0.5743 GB, free: 27.33 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.3534, allocations: 0 / 0.5743 GB, free: 27.33 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/0.3534, allocations: 10.97 kB / 0.5743 GB, free: 27.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.3535, allocations: 6.906 kB / 0.5743 GB, free: 27.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004603/0.3539, allocations: 237.5 kB / 0.5745 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001354/0.3553, allocations: 1.167 MB / 0.5757 GB, free: 26.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004494/0.3557, allocations: 235.4 kB / 0.5759 GB, free: 26.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.3559, allocations: 100.2 kB / 0.576 GB, free: 26.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.356, allocations: 2.156 kB / 0.576 GB, free: 26.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.356, allocations: 33.3 kB / 0.576 GB, free: 26.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.356, allocations: 1.094 kB / 0.576 GB, free: 26.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.000609/0.3566, allocations: 305.8 kB / 0.5763 GB, free: 26.08 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.3567, allocations: 80.95 kB / 0.5764 GB, free: 25.99 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000305/0.357, allocations: 334.5 kB / 0.5767 GB, free: 25.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.357, allocations: 27.86 kB / 0.5767 GB, free: 25.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.3571, allocations: 196.3 kB / 0.5769 GB, free: 25.61 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.357e-05/0.3572, allocations: 56.17 kB / 0.577 GB, free: 25.56 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.303e-05/0.3572, allocations: 40.67 kB / 0.577 GB, free: 25.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.845e-05/0.3573, allocations: 343.4 kB / 0.5773 GB, free: 25.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/0.3575, allocations: 84.77 kB / 0.5774 GB, free: 25.17 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001828/0.3577, allocations: 115.8 kB / 0.5775 GB, free: 25.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003164/0.358, allocations: 194.4 kB / 0.5777 GB, free: 25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.358, allocations: 1.156 kB / 0.5777 GB, free: 25 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004178/0.3585, allocations: 250.5 kB / 0.5779 GB, free: 24.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.3585, allocations: 7.828 kB / 0.578 GB, free: 24.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3585, allocations: 1.125 kB / 0.578 GB, free: 24.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.3585, allocations: 1.188 kB / 0.578 GB, free: 24.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/0.3587, allocations: 37.39 kB / 0.578 GB, free: 24.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.515e-06/0.3587, allocations: 3.031 kB / 0.578 GB, free: 24.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.3589, allocations: 33.23 kB / 0.578 GB, free: 24.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.3589, allocations: 4.781 kB / 0.578 GB, free: 24.85 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002055/0.3591, allocations: 198.8 kB / 0.5782 GB, free: 24.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001324/0.3592, allocations: 106.4 kB / 0.5783 GB, free: 24.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002307/0.3595, allocations: 165.1 kB / 0.5785 GB, free: 24.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.983e-06/0.3595, allocations: 0.7031 kB / 0.5785 GB, free: 24.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003262/0.3598, allocations: 229.1 kB / 0.5787 GB, free: 24.42 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.146e-06/0.3598, allocations: 5.438 kB / 0.5787 GB, free: 24.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.063e-06/0.3598, allocations: 4 kB / 0.5787 GB, free: 24.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.226e-06/0.3598, allocations: 3.297 kB / 0.5787 GB, free: 24.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.36, allocations: 24.05 kB / 0.5787 GB, free: 24.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.36, allocations: 7.188 kB / 0.5787 GB, free: 24.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.3601, allocations: 20 kB / 0.5788 GB, free: 24.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.3601, allocations: 10 kB / 0.5788 GB, free: 24.4 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.94e-05/0.3602, allocations: 188.2 kB / 0.579 GB, free: 24.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.118e-05/0.3602, allocations: 27.06 kB / 0.579 GB, free: 24.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.184e-05/0.3603, allocations: 32.06 kB / 0.579 GB, free: 24.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.3603, allocations: 1.938 kB / 0.579 GB, free: 24.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.3603, allocations: 1.094 kB / 0.579 GB, free: 24.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.3604, allocations: 5.969 kB / 0.579 GB, free: 24.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004065/0.3608, allocations: 413.2 kB / 0.5794 GB, free: 23.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3608, allocations: 2.844 kB / 0.5794 GB, free: 23.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/0.3609, allocations: 29.2 kB / 0.5794 GB, free: 23.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.361, allocations: 0 / 0.5794 GB, free: 23.87 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.361, allocations: 4.156 kB / 0.5794 GB, free: 23.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.361, allocations: 2.297 kB / 0.5794 GB, free: 23.87 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.361, allocations: 0 / 0.5794 GB, free: 23.87 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000599/0.3616, allocations: 440.7 kB / 0.5799 GB, free: 23.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.115e-05/0.3617, allocations: 129.3 kB / 0.58 GB, free: 23.47 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.961e-05/0.3617, allocations: 5.672 kB / 0.58 GB, free: 23.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.3619, allocations: 12.47 kB / 0.58 GB, free: 23.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.03e-05/0.362, allocations: 12.3 kB / 0.58 GB, free: 23.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.362, allocations: 3.953 kB / 0.58 GB, free: 23.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002225/0.3622, allocations: 239.3 kB / 0.5803 GB, free: 23.33 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3622, allocations: 0 / 0.5803 GB, free: 23.33 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000396/0.3626, allocations: 97.09 kB / 0.5803 GB, free: 23.3 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 8.34e-05/0.3627, allocations: 96.64 kB / 0.5804 GB, free: 23.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005518/0.3633, allocations: 292.7 kB / 0.5807 GB, free: 23.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3633, allocations: 3.938 kB / 0.5807 GB, free: 23.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00017/0.3634, allocations: 98.22 kB / 0.5808 GB, free: 23.06 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005963/0.364, allocations: 94.88 kB / 0.5809 GB, free: 23.03 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009188/0.365, allocations: 0.694 MB / 0.5816 GB, free: 22.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002096/0.3652, allocations: 0.7742 MB / 0.5823 GB, free: 21.85 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.75e-05/0.3653, allocations: 27.88 kB / 0.5824 GB, free: 21.84 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3653, allocations: 0 / 0.5824 GB, free: 21.84 MB / 446.1 MB Notification: Performance of Templates: time 0.005477/0.3708, allocations: 3.974 MB / 0.5862 GB, free: 20.28 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)