Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.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.0016/0.0016, allocations: 117.4 kB / 17.17 MB, free: 5.977 MB / 14.72 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.002079/0.002079, allocations: 214.3 kB / 20.13 MB, free: 3.035 MB / 14.72 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 1.685/1.685, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.6803/0.6803, allocations: 100.3 MB / 409.8 MB, free: 5.473 MB / 334.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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(ThermofluidStream.Processes.Tests.ConvectivePipe,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConvectivePipe",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConvectivePipe",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002507/0.002507, allocations: 83.88 kB / 0.5589 GB, free: 13.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.403, allocations: 74.41 MB / 0.6315 GB, free: 2.426 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.0219/0.4249, allocations: 17.54 MB / 0.6487 GB, free: 1.938 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.008815/0.4337, allocations: 6.817 MB / 0.6553 GB, free: 11.1 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006487/0.4344, allocations: 31.69 kB / 0.6554 GB, free: 11.07 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008006/0.4352, allocations: 290 kB / 0.6556 GB, free: 10.78 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001596/0.4368, allocations: 0.5395 MB / 0.6562 GB, free: 10.24 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009318/0.4377, allocations: 366.7 kB / 0.6565 GB, free: 9.879 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001077/0.4388, allocations: 0.8126 MB / 0.6573 GB, free: 9.062 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002444/0.439, allocations: 95.38 kB / 0.6574 GB, free: 8.965 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006665/0.4397, allocations: 362.4 kB / 0.6577 GB, free: 8.609 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003718/0.4401, allocations: 310.4 kB / 0.658 GB, free: 8.305 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.621e-05/0.4402, allocations: 40 kB / 0.6581 GB, free: 8.266 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001/0.4412, allocations: 371.6 kB / 0.6584 GB, free: 7.902 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001348/0.4413, allocations: 111.4 kB / 0.6585 GB, free: 7.793 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002853/0.4416, allocations: 290.3 kB / 0.6588 GB, free: 7.508 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001435/0.443, allocations: 0.8442 MB / 0.6596 GB, free: 6.66 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.443, allocations: 0 / 0.6596 GB, free: 6.66 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.443, allocations: 0 / 0.6596 GB, free: 6.66 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.443, allocations: 3.938 kB / 0.6596 GB, free: 6.656 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.00175/0.4448, allocations: 0.9921 MB / 0.6606 GB, free: 5.613 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.4448, allocations: 12.03 kB / 0.6606 GB, free: 5.602 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.012e-05/0.4448, allocations: 9.188 kB / 0.6606 GB, free: 5.59 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.823e-05/0.4449, allocations: 86.72 kB / 0.6607 GB, free: 5.496 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002013/0.4451, allocations: 84.45 kB / 0.6608 GB, free: 5.414 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008991/0.446, allocations: 0.5191 MB / 0.6613 GB, free: 4.855 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.217e-05/0.4461, allocations: 29 kB / 0.6613 GB, free: 4.828 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.967e-05/0.4461, allocations: 44 kB / 0.6614 GB, free: 4.785 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007785/0.4469, allocations: 467.7 kB / 0.6618 GB, free: 4.309 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.4469, allocations: 0 / 0.6618 GB, free: 4.309 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.937e-05/0.447, allocations: 16 kB / 0.6618 GB, free: 4.293 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.447, allocations: 12 kB / 0.6618 GB, free: 4.281 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007221/0.4477, allocations: 407.7 kB / 0.6622 GB, free: 3.883 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002832/0.4505, allocations: 2.069 MB / 0.6643 GB, free: 1.633 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007847/0.4513, allocations: 373.2 kB / 0.6646 GB, free: 1.25 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002978/0.4516, allocations: 167.6 kB / 0.6648 GB, free: 1.082 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001819/0.4534, allocations: 1.412 MB / 0.6661 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/0.4535, allocations: 42.83 kB / 0.6662 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 2.314e-06/0.4535, allocations: 0 / 0.6662 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of matching and sorting (n=41): time 0.006197/0.4597, allocations: 1.452 MB / 0.6676 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.354e-05/0.4597, allocations: 89.05 kB / 0.6677 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006464/0.4604, allocations: 471 kB / 0.6681 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.888e-05/0.4604, allocations: 41.64 kB / 0.6682 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002408/0.4607, allocations: 292.7 kB / 0.6685 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/0.4608, allocations: 146.8 kB / 0.6686 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.4609, allocations: 74.12 kB / 0.6687 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001933/0.4611, allocations: 366.8 kB / 0.669 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002626/0.4614, allocations: 124.8 kB / 0.6691 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003171/0.4617, allocations: 181.8 kB / 0.6693 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005679/0.4623, allocations: 331.8 kB / 0.6696 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.4623, allocations: 4 kB / 0.6696 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.003012/0.4653, allocations: 0.7915 MB / 0.6704 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.156e-05/0.4653, allocations: 8 kB / 0.6704 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.4653, allocations: 3.938 kB / 0.6704 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003098/0.4684, allocations: 489.3 kB / 0.6709 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003827/0.4688, allocations: 63.91 kB / 0.6709 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002511/0.4713, allocations: 2.208 MB / 0.6731 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003838/0.4717, allocations: 35.72 kB / 0.6731 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.011e-05/0.4718, allocations: 20.06 kB / 0.6732 GB, free: 7.988 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 (thermalConvection.turb_flag) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003748/0.4721, allocations: 172.6 kB / 0.6733 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001657/0.4723, allocations: 63.58 kB / 0.6734 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003077/0.4754, allocations: 0.8642 MB / 0.6742 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.4754, allocations: 8 kB / 0.6742 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.4754, allocations: 0 / 0.6742 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/0.4754, allocations: 0 / 0.6742 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003849/0.4793, allocations: 1.376 MB / 0.6756 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.4793, allocations: 3.984 kB / 0.6756 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002783/0.4795, allocations: 47.97 kB / 0.6756 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002655/0.4822, allocations: 493.3 kB / 0.6761 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.178e-05/0.4822, allocations: 15.94 kB / 0.6761 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002138/0.4844, allocations: 2.193 MB / 0.6783 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.4844, allocations: 0 / 0.6783 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003215/0.4876, allocations: 1.101 MB / 0.6793 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000266/0.4879, allocations: 176.5 kB / 0.6795 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.132e-05/0.4879, allocations: 12 kB / 0.6795 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002593/0.4882, allocations: 11.98 kB / 0.6795 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.882e-05/0.4883, allocations: 27.91 kB / 0.6795 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-05/0.4883, allocations: 19.98 kB / 0.6796 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000462/0.4887, allocations: 338.9 kB / 0.6799 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.4887, allocations: 0 / 0.6799 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007341/0.4895, allocations: 203.6 kB / 0.6801 GB, free: 0.5781 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (flowResistance.inlet.m_flow,heatCapacitor.T) * 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 (27): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003903/0.4934, allocations: 1.821 MB / 0.6819 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001043/0.4944, allocations: 462.6 kB / 0.6823 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.4944, allocations: 0 / 0.6823 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005725/0.495, allocations: 298.5 kB / 0.6826 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000969/0.496, allocations: 160.8 kB / 0.6827 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/0.5066, allocations: 5.177 MB / 0.6878 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005403/0.5072, allocations: 0.8667 MB / 0.6886 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002997/0.5075, allocations: 83.77 kB / 0.6887 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002967/0.5078, allocations: 211.4 kB / 0.6889 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of SimCode: time 1.853e-06/0.5078, allocations: 0 / 0.6889 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04522/0.553, allocations: 16.62 MB / 0.7052 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.45/15, allocations: 18.03 kB / 0.7052 GB, free: 6.918 MB / 0.5294 GB " [Timeout remaining time 645] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConvectivePipe_fmu --startTime=0 --stopTime=1000 --stepSize=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Processes_Tests_ConvectivePipe.fmu > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 18.78350227099145] Failed to read output from testmodel.py, exit status != 0: 15.167978560959455 15.195039705 14.7468484 Calling exit ...