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.0008587/0.0008587, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001044/0.001044, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9026/0.9026, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.005339/0.005339, allocations: 229.4 kB / 259.4 MB, free: 13.04 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.6713/0.6713, allocations: 138.4 MB / 454.3 MB, free: 1.672 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 1.533e-06/1.533e-06, allocations: 0 / 0.6463 GB, free: 29.06 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.879e-05/2.032e-05, allocations: 2.281 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.002023/0.002043, allocations: 1.648 MB / 0.6479 GB, free: 27.77 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001428/0.003471, allocations: 1.679 MB / 0.6496 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.129e-05/0.003543, allocations: 1.188 kB / 0.6496 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.00045/0.003993, allocations: 65.58 kB / 0.6496 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002094/0.004202, allocations: 99.72 kB / 0.6497 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001428/0.004345, allocations: 82.28 kB / 0.6498 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.000181/0.004526, allocations: 178.3 kB / 0.65 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.968e-05/0.004565, allocations: 2.562 kB / 0.65 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 9.153e-05/0.004657, allocations: 86.19 kB / 0.6501 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 9.761e-05/0.004755, allocations: 65.19 kB / 0.6501 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.34e-05/0.004778, allocations: 12.06 kB / 0.6501 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.004921, allocations: 108.8 kB / 0.6502 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 6.153e-05/0.004983, allocations: 47.78 kB / 0.6503 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 4.535e-05/0.005028, allocations: 50.02 kB / 0.6503 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002503/0.005278, allocations: 261.5 kB / 0.6506 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.00528, allocations: 0 / 0.6506 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.173e-06/0.005282, allocations: 2 kB / 0.6506 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.005286, allocations: 0 / 0.6506 GB, free: 25.83 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.0004218/0.005708, allocations: 416.8 kB / 0.651 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.005743, allocations: 10.47 kB / 0.651 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.572e-05/0.005769, allocations: 37.53 kB / 0.651 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.07e-05/0.00581, allocations: 24.06 kB / 0.651 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.006044, allocations: 193.3 kB / 0.6512 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.006056, allocations: 4.062 kB / 0.6512 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.006068, allocations: 11.12 kB / 0.6512 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.006244, allocations: 158.3 kB / 0.6514 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.006251, allocations: 0 / 0.6514 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.006262, allocations: 5.406 kB / 0.6514 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.006268, allocations: 9.203 kB / 0.6514 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001821/0.00645, allocations: 182.9 kB / 0.6516 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001618/0.006612, allocations: 198.8 kB / 0.6518 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002828/0.006894, allocations: 200 kB / 0.652 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.718e-05/0.006962, allocations: 64.75 kB / 0.652 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.006978, allocations: 6.062 kB / 0.652 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001415/0.007119, allocations: 118.1 kB / 0.6521 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=13): time 1.292e-06/0.007121, allocations: 0 / 0.6521 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13): time 0.0003484/0.007469, allocations: 258.7 kB / 0.6524 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/0.007495, allocations: 82.59 kB / 0.6525 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.007654, allocations: 256.2 kB / 0.6527 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.007665, allocations: 31.86 kB / 0.6527 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.434e-05/0.0077, allocations: 115.5 kB / 0.6529 GB, free: 23.97 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.315e-05/0.007733, allocations: 48.45 kB / 0.6529 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.83e-05/0.007771, allocations: 38.33 kB / 0.6529 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.376e-05/0.007805, allocations: 332.6 kB / 0.6533 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.62e-05/0.007871, allocations: 60.31 kB / 0.6533 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.626e-05/0.007947, allocations: 112.1 kB / 0.6534 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.008093, allocations: 143.3 kB / 0.6536 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.008096, allocations: 7.938 kB / 0.6536 GB, free: 23.37 MB / 0.5105 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002219/0.008318, allocations: 217 kB / 0.6538 GB, free: 23.25 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.008331, allocations: 5.188 kB / 0.6538 GB, free: 23.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.008336, allocations: 1.125 kB / 0.6538 GB, free: 23.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.008348, allocations: 5 kB / 0.6538 GB, free: 23.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.157e-05/0.008429, allocations: 29.73 kB / 0.6538 GB, free: 23.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.008434, allocations: 1.344 kB / 0.6538 GB, free: 23.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.076e-05/0.008475, allocations: 10.42 kB / 0.6538 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.008484, allocations: 9.047 kB / 0.6538 GB, free: 23.23 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 6.32e-05/0.008547, allocations: 132 kB / 0.654 GB, free: 23.11 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/0.00857, allocations: 23.42 kB / 0.654 GB, free: 23.09 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002951/0.008865, allocations: 289 kB / 0.6543 GB, free: 22.95 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.008868, allocations: 6.906 kB / 0.6543 GB, free: 22.94 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.008872, allocations: 0 / 0.6543 GB, free: 22.94 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.008876, allocations: 1.344 kB / 0.6543 GB, free: 22.94 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.008998, allocations: 215 kB / 0.6545 GB, free: 22.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.009, allocations: 1 kB / 0.6545 GB, free: 22.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.385e-05/0.009064, allocations: 30.52 kB / 0.6545 GB, free: 22.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.009067, allocations: 5.125 kB / 0.6545 GB, free: 22.73 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.009077, allocations: 14.7 kB / 0.6545 GB, free: 22.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.009079, allocations: 1.25 kB / 0.6545 GB, free: 22.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.00908, allocations: 0 / 0.6545 GB, free: 22.71 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002404/0.00932, allocations: 286.4 kB / 0.6548 GB, free: 22.55 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.114e-05/0.009341, allocations: 22.84 kB / 0.6548 GB, free: 22.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.009365, allocations: 10.56 kB / 0.6548 GB, free: 22.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.164e-05/0.009396, allocations: 10.8 kB / 0.6548 GB, free: 22.52 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.009432, allocations: 15.41 kB / 0.6548 GB, free: 22.51 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.009449, allocations: 10.25 kB / 0.6549 GB, free: 22.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001034/0.009552, allocations: 191.6 kB / 0.655 GB, free: 22.38 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.009552, allocations: 1.312 kB / 0.655 GB, free: 22.38 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001949/0.009747, allocations: 56.53 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.001106/0.01085, allocations: 1.262 MB / 0.6563 GB, free: 21.51 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002164/0.01107, allocations: 156.7 kB / 0.6565 GB, free: 21.44 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01107, allocations: 1.656 kB / 0.6565 GB, free: 21.44 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 8.799e-05/0.01116, allocations: 81.22 kB / 0.6566 GB, free: 21.41 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001854/0.01134, allocations: 41.91 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.001434/0.01278, allocations: 2.118 MB / 0.6587 GB, free: 19.76 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.559e-05/0.01284, allocations: 132.6 kB / 0.6588 GB, free: 19.65 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 8.207e-05/0.01293, allocations: 43.17 kB / 0.6588 GB, free: 19.64 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.608e-05/0.01301, allocations: 84.16 kB / 0.6589 GB, free: 19.57 MB / 0.5105 GB Notification: Performance of SimCode: time 4.71e-07/0.01301, allocations: 3.938 kB / 0.6589 GB, free: 19.57 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02106/0.03407, allocations: 6.524 MB / 0.6653 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.113/7.147, allocations: 3.5 kB / 0.6653 GB, free: 14.18 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --stepSize=900 --timeout=50 --tolerance=1e-06 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.895262100733817] Failed to read output from testmodel.py, exit status != 0: 7.247890390455723 7.259065518 7.252193009 Calling exit ...