Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",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.001255/0.001255, allocations: 101.7 kB / 16.27 MB, free: 5.93 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.001332/0.001332, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.308/1.308, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7435/0.7435, allocations: 122.9 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001564, allocations: 63.91 kB / 0.4912 GB, free: 7.332 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3377, allocations: 77.91 MB / 0.5673 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003067/0.3408, allocations: 1.632 MB / 0.5689 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001885/0.3427, allocations: 1.481 MB / 0.5703 GB, free: 30.53 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.994e-05/0.3428, allocations: 1.938 kB / 0.5703 GB, free: 30.53 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000437/0.3433, allocations: 53.22 kB / 0.5704 GB, free: 30.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001663/0.3435, allocations: 58.31 kB / 0.5704 GB, free: 30.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002567/0.3437, allocations: 103.3 kB / 0.5705 GB, free: 30.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002108/0.344, allocations: 164.6 kB / 0.5707 GB, free: 30.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.074e-05/0.344, allocations: 6.734 kB / 0.5707 GB, free: 30.34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.913e-05/0.3441, allocations: 69.3 kB / 0.5708 GB, free: 30.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000183/0.3443, allocations: 65.97 kB / 0.5708 GB, free: 30.28 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.914e-05/0.3443, allocations: 9.844 kB / 0.5708 GB, free: 30.28 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001357/0.3445, allocations: 68.92 kB / 0.5709 GB, free: 30.26 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.747e-05/0.3446, allocations: 38.42 kB / 0.5709 GB, free: 30.24 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.628e-05/0.3447, allocations: 67.73 kB / 0.571 GB, free: 30.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002693/0.3449, allocations: 193 kB / 0.5712 GB, free: 30.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3449, allocations: 5 kB / 0.5712 GB, free: 30.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.345, allocations: 0 / 0.5712 GB, free: 30.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.345, allocations: 1.375 kB / 0.5712 GB, free: 30.11 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000529/0.3455, allocations: 466.9 kB / 0.5716 GB, free: 29.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.3455, allocations: 14.77 kB / 0.5717 GB, free: 29.68 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.023e-05/0.3456, allocations: 38.64 kB / 0.5717 GB, free: 29.63 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.101e-05/0.3457, allocations: 17.44 kB / 0.5717 GB, free: 29.62 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002976/0.346, allocations: 260.1 kB / 0.572 GB, free: 29.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.346, allocations: 7.391 kB / 0.572 GB, free: 29.39 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.346, allocations: 12.27 kB / 0.572 GB, free: 29.38 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.3462, allocations: 116.4 kB / 0.5721 GB, free: 29.31 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.3462, allocations: 1.094 kB / 0.5721 GB, free: 29.31 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.3463, allocations: 5.375 kB / 0.5721 GB, free: 29.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.3463, allocations: 1.875 kB / 0.5721 GB, free: 29.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002332/0.3465, allocations: 140.7 kB / 0.5722 GB, free: 29.28 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002124/0.3467, allocations: 227.4 kB / 0.5725 GB, free: 29.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003474/0.3471, allocations: 180.6 kB / 0.5726 GB, free: 28.99 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.782e-05/0.3472, allocations: 53.31 kB / 0.5727 GB, free: 28.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.3472, allocations: 10.11 kB / 0.5727 GB, free: 28.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001919/0.3474, allocations: 107.6 kB / 0.5728 GB, free: 28.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.522e-06/0.3474, allocations: 1.75 kB / 0.5728 GB, free: 28.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004433/0.3479, allocations: 224.3 kB / 0.573 GB, free: 28.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.3479, allocations: 80.02 kB / 0.5731 GB, free: 28.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.3481, allocations: 203.4 kB / 0.5733 GB, free: 28.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.3481, allocations: 34.83 kB / 0.5733 GB, free: 28.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.618e-05/0.3482, allocations: 112.8 kB / 0.5734 GB, free: 28.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.883e-05/0.3483, allocations: 48.52 kB / 0.5735 GB, free: 28.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.93e-05/0.3483, allocations: 32.89 kB / 0.5735 GB, free: 28.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.914e-05/0.3484, allocations: 329.7 kB / 0.5738 GB, free: 28.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.427e-05/0.3485, allocations: 48.55 kB / 0.5739 GB, free: 28.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.3486, allocations: 72.02 kB / 0.5739 GB, free: 28 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000212/0.3488, allocations: 127.7 kB / 0.574 GB, free: 27.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3488, allocations: 9.281 kB / 0.5741 GB, free: 27.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003021/0.3491, allocations: 191 kB / 0.5742 GB, free: 27.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.3491, allocations: 5.875 kB / 0.5742 GB, free: 27.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3492, allocations: 4.734 kB / 0.5742 GB, free: 27.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.3492, allocations: 2.625 kB / 0.5742 GB, free: 27.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.3493, allocations: 24 kB / 0.5743 GB, free: 27.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.3493, allocations: 1.875 kB / 0.5743 GB, free: 27.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.533e-05/0.3494, allocations: 13.72 kB / 0.5743 GB, free: 27.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.3494, allocations: 4.969 kB / 0.5743 GB, free: 27.83 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 0.0001089/0.3495, allocations: 141.8 kB / 0.5744 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.494e-05/0.3495, allocations: 19.5 kB / 0.5744 GB, free: 27.69 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.382e-05/0.3496, allocations: 27.31 kB / 0.5745 GB, free: 27.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.3496, allocations: 1.188 kB / 0.5745 GB, free: 27.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.423e-06/0.3496, allocations: 1.594 kB / 0.5745 GB, free: 27.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.3496, allocations: 1.672 kB / 0.5745 GB, free: 27.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.3498, allocations: 244.5 kB / 0.5747 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3498, allocations: 0.75 kB / 0.5747 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.319e-05/0.3499, allocations: 18.78 kB / 0.5747 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.3499, allocations: 2.375 kB / 0.5747 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.3499, allocations: 3.75 kB / 0.5747 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3499, allocations: 1.219 kB / 0.5747 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3499, allocations: 0.5 kB / 0.5747 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003309/0.3503, allocations: 219.1 kB / 0.5749 GB, free: 27.33 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.532e-05/0.3503, allocations: 94.47 kB / 0.575 GB, free: 27.22 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.755e-05/0.3504, allocations: 7.984 kB / 0.575 GB, free: 27.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.451e-05/0.3504, allocations: 6.703 kB / 0.575 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.351e-05/0.3505, allocations: 10.17 kB / 0.5751 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.332e-05/0.3505, allocations: 10.7 kB / 0.5751 GB, free: 27.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001311/0.3506, allocations: 156.2 kB / 0.5752 GB, free: 27.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3506, allocations: 0 / 0.5752 GB, free: 27.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002584/0.3509, allocations: 33.39 kB / 0.5752 GB, free: 27.11 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001414/0.3523, allocations: 1.097 MB / 0.5763 GB, free: 26.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002904/0.3526, allocations: 133.9 kB / 0.5764 GB, free: 26.35 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3526, allocations: 0 / 0.5764 GB, free: 26.35 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.3528, allocations: 60.8 kB / 0.5765 GB, free: 26.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.353, allocations: 40.38 kB / 0.5765 GB, free: 26.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00195/0.355, allocations: 1.944 MB / 0.5784 GB, free: 24.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001662/0.3552, allocations: 0.7197 MB / 0.5791 GB, free: 24.21 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001223/0.3553, allocations: 48.84 kB / 0.5792 GB, free: 24.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.475e-05/0.3554, allocations: 60.41 kB / 0.5792 GB, free: 24.17 MB / 446.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3554, allocations: 0 / 0.5792 GB, free: 24.17 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02538/0.3808, allocations: 4.588 MB / 0.5837 GB, free: 22.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.362/7.743, allocations: 20.77 kB / 0.5837 GB, free: 22.62 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.csv --start-time 0 --stop-time 603900 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 900 IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)