Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3.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.00115/0.00115, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0008754/0.0008754, allocations: 216.1 kB / 22.25 MB, free: 3.578 MB / 13.93 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.9081/0.9081, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] 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.6834/0.6834, allocations: 150.8 MB / 463.2 MB, free: 6.465 MB / 362.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.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.Idealized.Tests.Processes.Adiabatic.Fixed3,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Fixed3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Fixed3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001094, allocations: 79.91 kB / 0.6392 GB, free: 32.59 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1427, allocations: 88.07 MB / 0.7252 GB, free: 8.352 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3): time 0.5046/0.6474, allocations: 133.2 MB / 0.8553 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.006469/0.6538, allocations: 5.371 MB / 0.8605 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007438/0.6546, allocations: 46.81 kB / 0.8606 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0009375/0.6555, allocations: 337.7 kB / 0.8609 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002174/0.6577, allocations: 1.035 MB / 0.8619 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009009/0.6586, allocations: 442.2 kB / 0.8623 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001218/0.6598, allocations: 1.109 MB / 0.8634 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002222/0.66, allocations: 96.78 kB / 0.8635 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008215/0.6609, allocations: 493.8 kB / 0.864 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005164/0.6614, allocations: 427 kB / 0.8644 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 6.843e-05/0.6614, allocations: 40.59 kB / 0.8644 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001318/0.6628, allocations: 0.8472 MB / 0.8653 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000128/0.6629, allocations: 115.8 kB / 0.8654 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002969/0.6632, allocations: 284.1 kB / 0.8656 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00142/0.6646, allocations: 1.209 MB / 0.8668 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.6646, allocations: 0 / 0.8668 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.734e-06/0.6646, allocations: 1.156 kB / 0.8668 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.738e-05/0.6646, allocations: 0 / 0.8668 GB, free: 1.387 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.00142/0.666, allocations: 1.033 MB / 0.8678 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/0.6661, allocations: 10.06 kB / 0.8678 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.968e-05/0.6662, allocations: 87.48 kB / 0.8679 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/0.6663, allocations: 89.41 kB / 0.868 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007532/0.6671, allocations: 0.5244 MB / 0.8685 GB, free: 480 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.6672, allocations: 198.5 kB / 0.8687 GB, free: 288 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.997e-05/0.6672, allocations: 48.72 kB / 0.8687 GB, free: 288 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006714/0.6679, allocations: 0.5278 MB / 0.8693 GB, free: 184 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.6679, allocations: 0 / 0.8693 GB, free: 184 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.054e-05/0.668, allocations: 24.59 kB / 0.8693 GB, free: 180 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/0.668, allocations: 14.62 kB / 0.8693 GB, free: 180 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006294/0.6686, allocations: 446.9 kB / 0.8697 GB, free: 176 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001753/0.6704, allocations: 1.492 MB / 0.8712 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006053/0.671, allocations: 314.7 kB / 0.8715 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002424/0.6712, allocations: 166.4 kB / 0.8716 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001181/0.6724, allocations: 0.8171 MB / 0.8724 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.6724, allocations: 39.59 kB / 0.8725 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=38): time 2.735e-06/0.6724, allocations: 3.984 kB / 0.8725 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of matching and sorting (n=38): time 0.001142/0.6736, allocations: 0.5123 MB / 0.873 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.6736, allocations: 58.56 kB / 0.873 GB, free: 15 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006756/0.6743, allocations: 0.6057 MB / 0.8736 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.6743, allocations: 38.42 kB / 0.8737 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001961/0.6745, allocations: 321.5 kB / 0.874 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.46e-05/0.6746, allocations: 136.5 kB / 0.8741 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.454e-05/0.6747, allocations: 83.89 kB / 0.8742 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.6748, allocations: 378.5 kB / 0.8745 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/0.675, allocations: 101.3 kB / 0.8746 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002499/0.6753, allocations: 186.8 kB / 0.8748 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004591/0.6758, allocations: 308 kB / 0.8751 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.6758, allocations: 1.219 kB / 0.8751 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006149/0.6764, allocations: 437.5 kB / 0.8755 GB, free: 14 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.6764, allocations: 10.41 kB / 0.8755 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.6764, allocations: 2.812 kB / 0.8755 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003798/0.6768, allocations: 85.16 kB / 0.8756 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002026/0.677, allocations: 90.88 kB / 0.8757 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003559/0.6773, allocations: 0.5661 MB / 0.8763 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.6775, allocations: 62.28 kB / 0.8763 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.648e-05/0.6776, allocations: 16.41 kB / 0.8763 GB, free: 13.44 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001973/0.6778, allocations: 177.1 kB / 0.8765 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.343e-05/0.6778, allocations: 72.88 kB / 0.8766 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008529/0.6787, allocations: 0.5537 MB / 0.8771 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.6787, allocations: 2.625 kB / 0.8771 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.6787, allocations: 4 kB / 0.8771 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.6787, allocations: 1.781 kB / 0.8771 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.6797, allocations: 0.8635 MB / 0.878 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.6798, allocations: 5.797 kB / 0.878 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.6799, allocations: 56.84 kB / 0.878 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003081/0.6802, allocations: 79.06 kB / 0.8781 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/0.6802, allocations: 11.94 kB / 0.8781 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003133/0.6806, allocations: 0.5807 MB / 0.8787 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.6806, allocations: 2.938 kB / 0.8787 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007474/0.6813, allocations: 0.5722 MB / 0.8792 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.6814, allocations: 111.4 kB / 0.8794 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.125e-05/0.6815, allocations: 12.2 kB / 0.8794 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.6816, allocations: 13.89 kB / 0.8794 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.787e-05/0.6817, allocations: 26.84 kB / 0.8794 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.6817, allocations: 13.38 kB / 0.8794 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000406/0.6821, allocations: 461.3 kB / 0.8799 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9e-08/0.6821, allocations: 2.156 kB / 0.8799 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000577/0.6827, allocations: 219.9 kB / 0.8801 GB, free: 11.18 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 1 (adiabaticFilter.dp) * 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 (26): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001483/0.6842, allocations: 1.372 MB / 0.8814 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006066/0.6848, allocations: 279.9 kB / 0.8817 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.6848, allocations: 2.281 kB / 0.8817 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002148/0.685, allocations: 136.6 kB / 0.8818 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008908/0.6859, allocations: 328.8 kB / 0.8821 GB, free: 10 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005006/0.6909, allocations: 4.918 MB / 0.8869 GB, free: 7.195 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000184/0.6911, allocations: 287.5 kB / 0.8872 GB, free: 7.086 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003522/0.6914, allocations: 120.9 kB / 0.8873 GB, free: 7.059 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000238/0.6917, allocations: 240.5 kB / 0.8875 GB, free: 6.887 MB / 0.6511 GB Notification: Performance of SimCode: time 1.453e-06/0.6917, allocations: 0 / 0.8875 GB, free: 6.887 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0338/0.7255, allocations: 21.41 MB / 0.9085 GB, free: 13.11 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.319/9.044, allocations: 16.36 kB / 0.9085 GB, free: 13.1 MB / 0.6667 GB " [Timeout remaining time 651] (rm -f ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3_res.csv --start-time 0 --stop-time 1 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Fixed3.fmu > ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Fixed3.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 12.936859144829214] Failed to read output from testmodel.py, exit status != 0: 9.140699887648225 9.149769388 8.483290216 Calling exit ...