Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.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.001438/0.001438, 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.001094/0.001094, 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.941/0.941, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.5885/0.5885, allocations: 114 MB / 373.9 MB, free: 8.707 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.Validation.LosslessPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.5542 GB, free: 1.734 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.224e-05/2.415e-05, allocations: 6.219 kB / 0.5542 GB, free: 1.727 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.LosslessPipe): time 0.4154/0.4154, allocations: 152.9 MB / 0.7035 GB, free: 4.637 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002545/0.418, allocations: 1.737 MB / 0.7052 GB, free: 3.945 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003387/0.4183, allocations: 18.97 kB / 0.7052 GB, free: 3.934 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0006332/0.419, allocations: 218.6 kB / 0.7054 GB, free: 3.824 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001513/0.4205, allocations: 0.781 MB / 0.7062 GB, free: 3.551 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.422, allocations: 0.8959 MB / 0.7071 GB, free: 3.219 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0007661/0.4228, allocations: 0.8227 MB / 0.7079 GB, free: 2.863 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003291/0.4231, allocations: 218.1 kB / 0.7081 GB, free: 2.773 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.4241, allocations: 0.6912 MB / 0.7088 GB, free: 2.516 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002117/0.4243, allocations: 234.9 kB / 0.709 GB, free: 2.465 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.57e-05/0.4244, allocations: 26.53 kB / 0.709 GB, free: 2.465 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001116/0.4255, allocations: 0.9087 MB / 0.7099 GB, free: 2.242 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.4256, allocations: 130.7 kB / 0.71 GB, free: 2.188 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.4257, allocations: 142 kB / 0.7102 GB, free: 2.145 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001051/0.4268, allocations: 0.9203 MB / 0.7111 GB, free: 1.914 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.4268, allocations: 0 / 0.7111 GB, free: 1.914 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.352e-06/0.4268, allocations: 0 / 0.7111 GB, free: 1.914 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.433e-06/0.4268, allocations: 7.938 kB / 0.7111 GB, free: 1.906 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001106/0.4279, allocations: 0.7136 MB / 0.7118 GB, free: 1.406 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.4279, allocations: 11.75 kB / 0.7118 GB, free: 1.406 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.57e-05/0.428, allocations: 62.47 kB / 0.7118 GB, free: 1.352 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005328/0.4285, allocations: 156 kB / 0.712 GB, free: 1.32 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003935/0.4289, allocations: 298.9 kB / 0.7123 GB, free: 1.109 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.4289, allocations: 19.94 kB / 0.7123 GB, free: 1.098 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.007e-05/0.4289, allocations: 27.09 kB / 0.7123 GB, free: 1.09 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004438/0.4294, allocations: 400 kB / 0.7127 GB, free: 0.8828 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.4294, allocations: 0 / 0.7127 GB, free: 0.8828 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.343e-05/0.4294, allocations: 14.88 kB / 0.7127 GB, free: 0.8711 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.605e-05/0.4294, allocations: 18.16 kB / 0.7127 GB, free: 0.8672 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004122/0.4299, allocations: 342.8 kB / 0.713 GB, free: 0.6953 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001197/0.4311, allocations: 1.293 MB / 0.7143 GB, free: 15.68 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003319/0.4314, allocations: 232.7 kB / 0.7145 GB, free: 15.55 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.4315, allocations: 136.7 kB / 0.7147 GB, free: 15.48 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002496/0.4318, allocations: 69.02 kB / 0.7147 GB, free: 15.46 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.4318, allocations: 34.56 kB / 0.7148 GB, free: 15.42 MB / 0.573 GB Notification: Performance of pre-optimization done (n=20): time 1.583e-06/0.4318, allocations: 0 / 0.7148 GB, free: 15.42 MB / 0.573 GB Notification: Performance of matching and sorting (n=20): time 0.0007975/0.4326, allocations: 394.5 kB / 0.7151 GB, free: 15.21 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.4326, allocations: 53.94 kB / 0.7152 GB, free: 15.15 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002782/0.4329, allocations: 355.5 kB / 0.7155 GB, free: 14.93 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.4329, allocations: 32.3 kB / 0.7156 GB, free: 14.9 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.4331, allocations: 199.3 kB / 0.7157 GB, free: 14.72 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 4.209e-05/0.4331, allocations: 72.81 kB / 0.7158 GB, free: 14.66 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.538e-05/0.4332, allocations: 48.36 kB / 0.7159 GB, free: 14.62 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 9.743e-05/0.4333, allocations: 347 kB / 0.7162 GB, free: 14.28 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.4334, allocations: 94.3 kB / 0.7163 GB, free: 14.24 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002001/0.4336, allocations: 234.8 kB / 0.7165 GB, free: 14.04 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002958/0.4339, allocations: 254 kB / 0.7167 GB, free: 13.87 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.4339, allocations: 7.281 kB / 0.7168 GB, free: 13.87 MB / 0.573 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003752/0.4343, allocations: 303.7 kB / 0.717 GB, free: 13.71 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.4343, allocations: 9.062 kB / 0.7171 GB, free: 13.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.4343, allocations: 0 / 0.7171 GB, free: 13.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.4343, allocations: 3 kB / 0.7171 GB, free: 13.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.4345, allocations: 49.12 kB / 0.7171 GB, free: 13.69 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.4345, allocations: 6.672 kB / 0.7171 GB, free: 13.69 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.4346, allocations: 32.98 kB / 0.7171 GB, free: 13.67 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/0.4347, allocations: 12.06 kB / 0.7172 GB, free: 13.66 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (25): * Single equations (assignments): 25 * 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.0001339/0.4348, allocations: 162.7 kB / 0.7173 GB, free: 13.52 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.338e-05/0.4348, allocations: 40.02 kB / 0.7173 GB, free: 13.49 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004289/0.4353, allocations: 302.8 kB / 0.7176 GB, free: 13.3 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.4353, allocations: 0 / 0.7176 GB, free: 13.3 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.4353, allocations: 2.719 kB / 0.7176 GB, free: 13.3 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.4353, allocations: 0 / 0.7176 GB, free: 13.3 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009257/0.4362, allocations: 0.821 MB / 0.7184 GB, free: 12.67 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.4362, allocations: 6.469 kB / 0.7184 GB, free: 12.66 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.4363, allocations: 50 kB / 0.7185 GB, free: 12.65 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.4363, allocations: 5.812 kB / 0.7185 GB, free: 12.65 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.4363, allocations: 6.609 kB / 0.7185 GB, free: 12.64 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.4363, allocations: 4.969 kB / 0.7185 GB, free: 12.64 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.4363, allocations: 7.281 kB / 0.7185 GB, free: 12.64 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003994/0.4367, allocations: 443 kB / 0.7189 GB, free: 12.29 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 9.653e-05/0.4368, allocations: 65.2 kB / 0.719 GB, free: 12.25 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.4369, allocations: 4.969 kB / 0.719 GB, free: 12.25 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.437, allocations: 20.41 kB / 0.719 GB, free: 12.24 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.326e-05/0.437, allocations: 27.55 kB / 0.7191 GB, free: 12.22 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.4371, allocations: 7.938 kB / 0.7191 GB, free: 12.22 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001866/0.4372, allocations: 259.3 kB / 0.7193 GB, free: 12.05 MB / 0.573 GB Notification: Performance of sort global known variables: time 6e-08/0.4372, allocations: 0 / 0.7193 GB, free: 12.05 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0003483/0.4376, allocations: 99.98 kB / 0.7194 GB, free: 12.04 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (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 Backend phase and start with SimCode phase: time 0.0008383/0.4384, allocations: 1.026 MB / 0.7204 GB, free: 11.14 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0004422/0.4389, allocations: 236.9 kB / 0.7206 GB, free: 11.03 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4389, allocations: 0 / 0.7206 GB, free: 11.03 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001714/0.439, allocations: 131.5 kB / 0.7208 GB, free: 10.97 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007656/0.4398, allocations: 213.5 kB / 0.721 GB, free: 10.86 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003161/0.443, allocations: 3.282 MB / 0.7242 GB, free: 8.441 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001495/0.4431, allocations: 191.4 kB / 0.7243 GB, free: 8.312 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002893/0.4434, allocations: 87.42 kB / 0.7244 GB, free: 8.277 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/0.4436, allocations: 113.6 kB / 0.7245 GB, free: 8.188 MB / 0.573 GB Notification: Performance of SimCode: time 2.154e-06/0.4436, allocations: 0 / 0.7245 GB, free: 8.188 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02658/0.4701, allocations: 12 MB / 0.7363 GB, free: 2.055 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.066/7.536, allocations: 9.344 kB / 0.7363 GB, free: 2.055 MB / 0.573 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe_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_Validation_LosslessPipe.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.202666991390288] Failed to read output from testmodel.py, exit status != 0: 7.623780342750251 7.63890207 7.209084355 Calling exit ...