Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8957/0.8957, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.573/0.573, allocations: 114 MB / 373.9 MB, free: 8.715 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.5542 GB, free: 1.734 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.269e-05/1.421e-05, allocations: 3.969 kB / 0.5542 GB, free: 1.73 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.4288/0.4288, allocations: 142.3 MB / 0.6931 GB, free: 6.121 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002295/0.4311, allocations: 1.586 MB / 0.6946 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002231/0.4313, allocations: 14.88 kB / 0.6947 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0005623/0.4319, allocations: 160.2 kB / 0.6948 GB, free: 5.871 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001282/0.4332, allocations: 0.5275 MB / 0.6953 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007946/0.434, allocations: 448.3 kB / 0.6958 GB, free: 5.762 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0006644/0.4346, allocations: 0.5579 MB / 0.6963 GB, free: 5.754 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002241/0.4348, allocations: 125.8 kB / 0.6964 GB, free: 5.746 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007836/0.4356, allocations: 0.5324 MB / 0.6969 GB, free: 5.664 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.4358, allocations: 148.4 kB / 0.6971 GB, free: 5.637 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.123e-05/0.4358, allocations: 12.28 kB / 0.6971 GB, free: 5.637 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006969/0.4365, allocations: 0.5638 MB / 0.6976 GB, free: 5.559 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 8.27e-05/0.4366, allocations: 86.72 kB / 0.6977 GB, free: 5.523 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 7.944e-05/0.4367, allocations: 78.69 kB / 0.6978 GB, free: 5.496 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0005541/0.4372, allocations: 0.5107 MB / 0.6983 GB, free: 5.355 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4372, allocations: 0 / 0.6983 GB, free: 5.355 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4372, allocations: 1.25 kB / 0.6983 GB, free: 5.355 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.4372, allocations: 0 / 0.6983 GB, free: 5.355 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005468/0.4378, allocations: 0.5191 MB / 0.6988 GB, free: 4.93 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.4378, allocations: 10.44 kB / 0.6988 GB, free: 4.93 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.184e-05/0.4378, allocations: 45 kB / 0.6989 GB, free: 4.883 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002363/0.4381, allocations: 64.16 kB / 0.6989 GB, free: 4.859 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003013/0.4384, allocations: 236.5 kB / 0.6991 GB, free: 4.68 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.4384, allocations: 19.22 kB / 0.6992 GB, free: 4.668 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.4384, allocations: 14.34 kB / 0.6992 GB, free: 4.664 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002512/0.4387, allocations: 218 kB / 0.6994 GB, free: 4.535 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.4387, allocations: 0 / 0.6994 GB, free: 4.535 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.4387, allocations: 5.469 kB / 0.6994 GB, free: 4.531 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.4387, allocations: 2.812 kB / 0.6994 GB, free: 4.531 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001756/0.4389, allocations: 129 kB / 0.6995 GB, free: 4.496 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006058/0.4395, allocations: 0.6616 MB / 0.7002 GB, free: 3.988 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.4397, allocations: 85.7 kB / 0.7002 GB, free: 3.945 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.931e-05/0.4398, allocations: 74.83 kB / 0.7003 GB, free: 3.922 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001448/0.4399, allocations: 38.48 kB / 0.7004 GB, free: 3.914 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.495e-05/0.4399, allocations: 36.34 kB / 0.7004 GB, free: 3.875 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.4399, allocations: 0.9375 kB / 0.7004 GB, free: 3.875 MB / 0.5573 GB Notification: Performance of matching and sorting (n=10): time 0.0004184/0.4403, allocations: 223.3 kB / 0.7006 GB, free: 3.785 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.962e-05/0.4404, allocations: 52.56 kB / 0.7007 GB, free: 3.723 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.4405, allocations: 270.1 kB / 0.7009 GB, free: 3.578 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.4405, allocations: 29.8 kB / 0.7009 GB, free: 3.543 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.8e-05/0.4406, allocations: 153.5 kB / 0.7011 GB, free: 3.41 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.4406, allocations: 38.12 kB / 0.7011 GB, free: 3.379 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.714e-05/0.4406, allocations: 35.44 kB / 0.7012 GB, free: 3.352 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.068e-05/0.4407, allocations: 331.4 kB / 0.7015 GB, free: 3.031 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.707e-05/0.4408, allocations: 49.61 kB / 0.7015 GB, free: 3.012 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.37e-05/0.4409, allocations: 217.5 kB / 0.7017 GB, free: 2.797 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.441, allocations: 126.3 kB / 0.7018 GB, free: 2.73 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.441, allocations: 0 / 0.7018 GB, free: 2.73 MB / 0.5573 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001777/0.4412, allocations: 157 kB / 0.702 GB, free: 2.66 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.4412, allocations: 5.406 kB / 0.702 GB, free: 2.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.4412, allocations: 2.531 kB / 0.702 GB, free: 2.66 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.4412, allocations: 5.812 kB / 0.702 GB, free: 2.656 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.727e-05/0.4413, allocations: 22.72 kB / 0.702 GB, free: 2.652 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.4413, allocations: 1.281 kB / 0.702 GB, free: 2.652 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.258e-05/0.4414, allocations: 22.36 kB / 0.7021 GB, free: 2.645 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.4414, allocations: 7.016 kB / 0.7021 GB, free: 2.645 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.8e-05/0.4415, allocations: 146.7 kB / 0.7022 GB, free: 2.543 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.125e-05/0.4416, allocations: 221.9 kB / 0.7024 GB, free: 2.324 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001281/0.4417, allocations: 116.9 kB / 0.7025 GB, free: 2.266 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.232e-06/0.4417, allocations: 5.25 kB / 0.7025 GB, free: 2.262 MB / 0.5573 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0001785/0.4419, allocations: 158.6 kB / 0.7027 GB, free: 2.188 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 6.773e-06/0.4419, allocations: 5.844 kB / 0.7027 GB, free: 2.188 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.325e-06/0.4419, allocations: 1.125 kB / 0.7027 GB, free: 2.188 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.841e-06/0.4419, allocations: 1 kB / 0.7027 GB, free: 2.188 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.7e-05/0.4419, allocations: 27.16 kB / 0.7027 GB, free: 2.18 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.4419, allocations: 3.031 kB / 0.7027 GB, free: 2.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.702e-05/0.442, allocations: 21.89 kB / 0.7027 GB, free: 2.172 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.442, allocations: 7.969 kB / 0.7027 GB, free: 2.172 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 4.308e-05/0.4421, allocations: 187.4 kB / 0.7029 GB, free: 1.984 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.4421, allocations: 23.14 kB / 0.7029 GB, free: 1.973 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002033/0.4423, allocations: 163.5 kB / 0.7031 GB, free: 1.895 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.4423, allocations: 5.562 kB / 0.7031 GB, free: 1.891 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.4423, allocations: 0 / 0.7031 GB, free: 1.891 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.4423, allocations: 3.938 kB / 0.7031 GB, free: 1.887 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004851/0.4428, allocations: 0.548 MB / 0.7036 GB, free: 1.477 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.4428, allocations: 5.75 kB / 0.7036 GB, free: 1.473 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.035e-05/0.4429, allocations: 21.33 kB / 0.7037 GB, free: 1.473 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.4429, allocations: 2.656 kB / 0.7037 GB, free: 1.473 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.4429, allocations: 6.906 kB / 0.7037 GB, free: 1.469 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.4429, allocations: 9 kB / 0.7037 GB, free: 1.465 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4429, allocations: 5.016 kB / 0.7037 GB, free: 1.465 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001801/0.4431, allocations: 292 kB / 0.704 GB, free: 1.234 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.59e-05/0.4431, allocations: 39.02 kB / 0.704 GB, free: 1.215 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.4431, allocations: 2.75 kB / 0.704 GB, free: 1.215 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.178e-05/0.4432, allocations: 16.61 kB / 0.704 GB, free: 1.211 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.4433, allocations: 18.62 kB / 0.704 GB, free: 1.199 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/0.4433, allocations: 5.5 kB / 0.704 GB, free: 1.199 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001037/0.4434, allocations: 198.3 kB / 0.7042 GB, free: 1.086 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.4434, allocations: 0 / 0.7042 GB, free: 1.086 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000288/0.4437, allocations: 95.27 kB / 0.7043 GB, free: 1.07 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0004249/0.4441, allocations: 0.8711 MB / 0.7052 GB, free: 312 kB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.000265/0.4443, allocations: 164 kB / 0.7053 GB, free: 268 kB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.4443, allocations: 0 / 0.7053 GB, free: 268 kB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 8.317e-05/0.4444, allocations: 60.75 kB / 0.7054 GB, free: 252 kB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.4448, allocations: 113.2 kB / 0.7055 GB, free: 216 kB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.4467, allocations: 2.348 MB / 0.7078 GB, free: 14.52 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.4468, allocations: 150.4 kB / 0.7079 GB, free: 14.43 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001264/0.4469, allocations: 71.83 kB / 0.708 GB, free: 14.42 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.068e-05/0.447, allocations: 66.91 kB / 0.7081 GB, free: 14.37 MB / 0.573 GB Notification: Performance of SimCode: time 6.61e-07/0.447, allocations: 0 / 0.7081 GB, free: 14.37 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02009/0.4671, allocations: 7.805 MB / 0.7157 GB, free: 11.08 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.051/7.518, allocations: 8.688 kB / 0.7157 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PressureDrop.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.12005669157952] Failed to read output from testmodel.py, exit status != 0: 7.602431788109243 7.612878817 7.172690455 Calling exit ...