Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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.0007639/0.0007639, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000781/0.000781, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8449/0.8449, allocations: 177.2 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001348/0.001348, allocations: 234.4 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6562/0.6562, allocations: 138.4 MB / 454.3 MB, free: 1.621 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 3.984 kB / 0.6463 GB, free: 29.05 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.838e-05/2.065e-05, allocations: 3.656 kB / 0.6463 GB, free: 29.05 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002383/0.002403, allocations: 1.629 MB / 0.6479 GB, free: 27.79 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001746/0.00415, allocations: 1.678 MB / 0.6496 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.138e-05/0.004231, allocations: 1.125 kB / 0.6496 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0004601/0.004691, allocations: 64.53 kB / 0.6496 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002481/0.004939, allocations: 104.1 kB / 0.6497 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.000155/0.005094, allocations: 70.08 kB / 0.6498 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0002049/0.005299, allocations: 186 kB / 0.65 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.372e-05/0.005343, allocations: 7.5 kB / 0.65 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.005455, allocations: 90.67 kB / 0.6501 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.005585, allocations: 61.05 kB / 0.6501 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.612e-05/0.005612, allocations: 11.28 kB / 0.6501 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001717/0.005783, allocations: 113.7 kB / 0.6502 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 6.79e-05/0.005851, allocations: 51.92 kB / 0.6503 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 5.285e-05/0.005904, allocations: 41.75 kB / 0.6503 GB, free: 26 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002977/0.006202, allocations: 257.6 kB / 0.6506 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.006206, allocations: 0 / 0.6506 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.282e-06/0.006207, allocations: 0 / 0.6506 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.006212, allocations: 0 / 0.6506 GB, free: 25.84 MB / 0.5105 GB 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.0005118/0.006724, allocations: 426.1 kB / 0.651 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.006765, allocations: 9.375 kB / 0.651 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.084e-05/0.006795, allocations: 41.3 kB / 0.651 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.216e-05/0.006848, allocations: 21.02 kB / 0.651 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003021/0.00715, allocations: 192.7 kB / 0.6512 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.007165, allocations: 14.52 kB / 0.6512 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.007179, allocations: 4.844 kB / 0.6512 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/0.007394, allocations: 162.3 kB / 0.6514 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.007403, allocations: 0 / 0.6514 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.007416, allocations: 1.219 kB / 0.6514 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.007422, allocations: 5.344 kB / 0.6514 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002567/0.007679, allocations: 195.1 kB / 0.6516 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002032/0.007882, allocations: 203.2 kB / 0.6518 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003785/0.00826, allocations: 190.7 kB / 0.652 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.897e-05/0.008349, allocations: 58.05 kB / 0.652 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.008367, allocations: 1.406 kB / 0.652 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001848/0.008552, allocations: 128.2 kB / 0.6521 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=13): time 1.323e-06/0.008553, allocations: 1.281 kB / 0.6522 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13): time 0.0004462/0.008999, allocations: 261.7 kB / 0.6524 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.009031, allocations: 79.58 kB / 0.6525 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.009237, allocations: 251.6 kB / 0.6527 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.009252, allocations: 36.25 kB / 0.6528 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.124e-05/0.009293, allocations: 115.3 kB / 0.6529 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.053e-05/0.009334, allocations: 47.84 kB / 0.6529 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-05/0.009384, allocations: 34.17 kB / 0.6529 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.439e-05/0.009419, allocations: 327.9 kB / 0.6533 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.5e-05/0.009514, allocations: 58.17 kB / 0.6533 GB, free: 23.56 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.009615, allocations: 122.8 kB / 0.6534 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.009804, allocations: 144 kB / 0.6536 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.009807, allocations: 1.531 kB / 0.6536 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002896/0.0101, allocations: 220.7 kB / 0.6538 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.01011, allocations: 4.781 kB / 0.6538 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.01012, allocations: 1.156 kB / 0.6538 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.01013, allocations: 1.156 kB / 0.6538 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.01024, allocations: 28.86 kB / 0.6538 GB, free: 23.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.01024, allocations: 1.344 kB / 0.6538 GB, free: 23.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.768e-05/0.0103, allocations: 11.69 kB / 0.6538 GB, free: 23.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.01031, allocations: 9.219 kB / 0.6538 GB, free: 23.25 MB / 0.5105 GB 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 8.047e-05/0.01039, allocations: 138.8 kB / 0.654 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.44e-05/0.01043, allocations: 23.52 kB / 0.654 GB, free: 23.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003939/0.01082, allocations: 279.5 kB / 0.6543 GB, free: 22.96 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.01083, allocations: 1.531 kB / 0.6543 GB, free: 22.96 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.01083, allocations: 1.125 kB / 0.6543 GB, free: 22.96 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.01084, allocations: 3.984 kB / 0.6543 GB, free: 22.96 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.01099, allocations: 219.8 kB / 0.6545 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.011, allocations: 5.281 kB / 0.6545 GB, free: 22.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.912e-05/0.01109, allocations: 34.27 kB / 0.6545 GB, free: 22.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.01109, allocations: 5.438 kB / 0.6545 GB, free: 22.73 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.0111, allocations: 6.875 kB / 0.6545 GB, free: 22.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.01111, allocations: 9.188 kB / 0.6545 GB, free: 22.72 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.01111, allocations: 0 / 0.6545 GB, free: 22.72 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003227/0.01143, allocations: 281.2 kB / 0.6548 GB, free: 22.56 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.986e-05/0.01146, allocations: 30.89 kB / 0.6548 GB, free: 22.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.181e-05/0.01149, allocations: 10.72 kB / 0.6548 GB, free: 22.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.442e-05/0.01154, allocations: 2.531 kB / 0.6548 GB, free: 22.53 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.121e-05/0.01158, allocations: 22.67 kB / 0.6549 GB, free: 22.51 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.0116, allocations: 10.59 kB / 0.6549 GB, free: 22.51 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000131/0.01173, allocations: 195.3 kB / 0.6551 GB, free: 22.38 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01173, allocations: 1.344 kB / 0.6551 GB, free: 22.38 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002952/0.01202, allocations: 61.05 kB / 0.6551 GB, free: 22.36 MB / 0.5105 GB 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.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * 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.001426/0.01345, allocations: 1.26 MB / 0.6563 GB, free: 21.51 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000254/0.0137, allocations: 145 kB / 0.6565 GB, free: 21.45 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.01371, allocations: 5.312 kB / 0.6565 GB, free: 21.45 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.636e-05/0.0138, allocations: 81.48 kB / 0.6566 GB, free: 21.42 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.01401, allocations: 37.98 kB / 0.6566 GB, free: 21.39 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.01553, allocations: 2.125 MB / 0.6587 GB, free: 19.76 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.713e-05/0.0156, allocations: 124.3 kB / 0.6588 GB, free: 19.66 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 8.534e-05/0.01569, allocations: 44.05 kB / 0.6588 GB, free: 19.64 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.617e-05/0.01577, allocations: 74.67 kB / 0.6589 GB, free: 19.59 MB / 0.5105 GB Notification: Performance of SimCode: time 7.02e-07/0.01577, allocations: 5.031 kB / 0.6589 GB, free: 19.59 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02079/0.03656, allocations: 6.535 MB / 0.6653 GB, free: 14.13 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.881/6.918, allocations: 0 / 0.6653 GB, free: 14.13 MB / 0.5105 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.657855683937669] Failed to read output from testmodel.py, exit status != 0: 7.023308405652642 7.033675842 7.025346173 Calling exit ...