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: "" <> buildModelFMU(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 107.6 kB / 16.27 MB, free: 5.984 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.001105/0.001105, allocations: 191 kB / 17.2 MB, free: 5.613 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.26/1.26, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7144/0.7144, allocations: 122.8 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 59.91 kB / 0.4912 GB, free: 7.367 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.346, allocations: 77.94 MB / 0.5673 GB, free: 32.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003666/0.3497, allocations: 2.591 MB / 0.5698 GB, free: 30.97 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00156/0.3513, allocations: 0.9145 MB / 0.5707 GB, free: 30.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002212/0.3515, allocations: 8.438 kB / 0.5707 GB, free: 30.3 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002011/0.3517, allocations: 67.33 kB / 0.5708 GB, free: 30.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001401/0.3519, allocations: 56.47 kB / 0.5708 GB, free: 30.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004517/0.3524, allocations: 240.3 kB / 0.5711 GB, free: 30.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003831/0.3528, allocations: 461.1 kB / 0.5715 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002906/0.3531, allocations: 224.4 kB / 0.5717 GB, free: 29.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.3532, allocations: 144.8 kB / 0.5719 GB, free: 29.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.3533, allocations: 147.5 kB / 0.572 GB, free: 29.49 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.779e-05/0.3534, allocations: 49.56 kB / 0.572 GB, free: 29.49 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.348e-05/0.3535, allocations: 50.41 kB / 0.5721 GB, free: 29.49 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.651e-05/0.3535, allocations: 89.19 kB / 0.5722 GB, free: 29.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.3536, allocations: 193.7 kB / 0.5724 GB, free: 29.27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004897/0.3541, allocations: 0.5968 MB / 0.5729 GB, free: 29.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3542, allocations: 0.6094 kB / 0.5729 GB, free: 29.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3542, allocations: 2 kB / 0.5729 GB, free: 29.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.347e-06/0.3542, allocations: 0 / 0.5729 GB, free: 29.04 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.000753/0.3549, allocations: 0.6489 MB / 0.5736 GB, free: 28.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.355, allocations: 8.531 kB / 0.5736 GB, free: 28.5 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.052e-05/0.3551, allocations: 66.55 kB / 0.5736 GB, free: 28.44 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.728e-05/0.3551, allocations: 45.36 kB / 0.5737 GB, free: 28.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003764/0.3555, allocations: 378.8 kB / 0.5741 GB, free: 28.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.3555, allocations: 24.28 kB / 0.5741 GB, free: 28.08 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.458e-05/0.3556, allocations: 26.94 kB / 0.5741 GB, free: 28.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000524/0.3561, allocations: 336.2 kB / 0.5744 GB, free: 27.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.3561, allocations: 0 / 0.5744 GB, free: 27.89 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.879e-05/0.3562, allocations: 16.72 kB / 0.5744 GB, free: 27.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.3562, allocations: 5.812 kB / 0.5744 GB, free: 27.88 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004373/0.3566, allocations: 233 kB / 0.5747 GB, free: 27.79 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001283/0.3579, allocations: 1.171 MB / 0.5758 GB, free: 26.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004384/0.3584, allocations: 233.6 kB / 0.576 GB, free: 26.87 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/0.3586, allocations: 95.89 kB / 0.5761 GB, free: 26.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.3586, allocations: 2.188 kB / 0.5761 GB, free: 26.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.464e-05/0.3586, allocations: 36 kB / 0.5762 GB, free: 26.78 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.242e-06/0.3586, allocations: 2.375 kB / 0.5762 GB, free: 26.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005804/0.3592, allocations: 299.8 kB / 0.5764 GB, free: 26.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.3592, allocations: 79.23 kB / 0.5765 GB, free: 26.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002867/0.3595, allocations: 334.7 kB / 0.5768 GB, free: 26.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.3596, allocations: 33.03 kB / 0.5769 GB, free: 26.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.764e-05/0.3597, allocations: 192.1 kB / 0.5771 GB, free: 26.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.785e-05/0.3597, allocations: 53.03 kB / 0.5771 GB, free: 26.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.421e-05/0.3598, allocations: 41.64 kB / 0.5771 GB, free: 26.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.048e-05/0.3598, allocations: 340.9 kB / 0.5775 GB, free: 25.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.36, allocations: 85.44 kB / 0.5776 GB, free: 25.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.3602, allocations: 120.4 kB / 0.5777 GB, free: 25.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003105/0.3605, allocations: 193.6 kB / 0.5779 GB, free: 25.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3605, allocations: 0 / 0.5779 GB, free: 25.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004062/0.3609, allocations: 250.5 kB / 0.5781 GB, free: 25.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.361, allocations: 4.344 kB / 0.5781 GB, free: 25.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.361, allocations: 2.062 kB / 0.5781 GB, free: 25.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.361, allocations: 4.344 kB / 0.5781 GB, free: 25.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001797/0.3612, allocations: 37.22 kB / 0.5781 GB, free: 25.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.3612, allocations: 5.875 kB / 0.5781 GB, free: 25.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.3613, allocations: 23.77 kB / 0.5782 GB, free: 25.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.3613, allocations: 7.562 kB / 0.5782 GB, free: 25.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001813/0.3615, allocations: 193 kB / 0.5784 GB, free: 25.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001299/0.3617, allocations: 105.8 kB / 0.5785 GB, free: 25.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002121/0.3619, allocations: 162.7 kB / 0.5786 GB, free: 25.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.893e-06/0.3619, allocations: 1.375 kB / 0.5786 GB, free: 25.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003229/0.3622, allocations: 232.9 kB / 0.5788 GB, free: 24.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.355e-06/0.3622, allocations: 5.5 kB / 0.5788 GB, free: 24.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-06/0.3622, allocations: 5.312 kB / 0.5788 GB, free: 24.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.956e-06/0.3622, allocations: 1.984 kB / 0.5788 GB, free: 24.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.3624, allocations: 29.12 kB / 0.5789 GB, free: 24.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.3624, allocations: 2.703 kB / 0.5789 GB, free: 24.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.3625, allocations: 18.59 kB / 0.5789 GB, free: 24.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.3625, allocations: 8.75 kB / 0.5789 GB, free: 24.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.079e-05/0.3626, allocations: 190.7 kB / 0.5791 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.052e-05/0.3626, allocations: 31.94 kB / 0.5791 GB, free: 24.76 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.601e-05/0.3627, allocations: 36.23 kB / 0.5792 GB, free: 24.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3627, allocations: 2.75 kB / 0.5792 GB, free: 24.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.3627, allocations: 4.734 kB / 0.5792 GB, free: 24.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.3627, allocations: 0.8438 kB / 0.5792 GB, free: 24.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003708/0.3631, allocations: 405.8 kB / 0.5795 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.3631, allocations: 1.281 kB / 0.5795 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001653/0.3633, allocations: 28.59 kB / 0.5796 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.3633, allocations: 2.062 kB / 0.5796 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.3633, allocations: 7.75 kB / 0.5796 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.3633, allocations: 4.75 kB / 0.5796 GB, free: 24.42 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.3633, allocations: 9.297 kB / 0.5796 GB, free: 24.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005966/0.3639, allocations: 434 kB / 0.58 GB, free: 24.15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.765e-05/0.364, allocations: 129.5 kB / 0.5801 GB, free: 24.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.725e-05/0.3641, allocations: 5.906 kB / 0.5801 GB, free: 24.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.3642, allocations: 9.422 kB / 0.5802 GB, free: 24.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.701e-05/0.3643, allocations: 13.19 kB / 0.5802 GB, free: 24.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.3643, allocations: 7.781 kB / 0.5802 GB, free: 24.01 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002031/0.3645, allocations: 234.3 kB / 0.5804 GB, free: 23.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3645, allocations: 0 / 0.5804 GB, free: 23.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003728/0.3649, allocations: 95.22 kB / 0.5805 GB, free: 23.86 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 0.0007475/0.3657, allocations: 0.9647 MB / 0.5814 GB, free: 23.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005343/0.3662, allocations: 292.8 kB / 0.5817 GB, free: 22.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3662, allocations: 0 / 0.5817 GB, free: 22.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001672/0.3664, allocations: 92.31 kB / 0.5818 GB, free: 22.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005261/0.3669, allocations: 93.62 kB / 0.5819 GB, free: 22.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003207/0.3701, allocations: 2.967 MB / 0.5848 GB, free: 20.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001806/0.3703, allocations: 0.7758 MB / 0.5855 GB, free: 20.24 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001289/0.3705, allocations: 28.3 kB / 0.5856 GB, free: 20.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.3706, allocations: 104.6 kB / 0.5857 GB, free: 20.16 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3706, allocations: 0 / 0.5857 GB, free: 20.16 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02295/0.3936, allocations: 6.553 MB / 0.5921 GB, free: 17.05 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.181/7.574, allocations: 14.09 kB / 0.5921 GB, free: 17.04 MB / 446.1 MB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder_res.csv --start-time 0 --stop-time 150 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.06 IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)