Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Pump.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.0008833/0.0008833, allocations: 80.23 kB / 19.27 MB, free: 0.6055 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.0009557/0.0009557, allocations: 166 kB / 22.57 MB, free: 1.949 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.9442/0.9442, allocations: 177.1 MB / 202.9 MB, free: 5.707 MB / 186.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.6581/0.6581, allocations: 116 MB / 375.4 MB, free: 4.148 MB / 346.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.Pump,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Pump",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Pump,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Pump",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.5535 GB, free: 13.16 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.079e-05/2.244e-05, allocations: 2.312 kB / 0.5535 GB, free: 13.15 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Pump): time 0.4088/0.4088, allocations: 219.3 MB / 0.7677 GB, free: 5.332 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.03564/0.4444, allocations: 42.19 MB / 0.8089 GB, free: 11 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004888/0.4493, allocations: 261.5 kB / 0.8092 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.006027/0.4553, allocations: 2.354 MB / 0.8115 GB, free: 8.375 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.02627/0.4816, allocations: 12.13 MB / 0.8233 GB, free: 12.18 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.01105/0.4927, allocations: 4.95 MB / 0.8282 GB, free: 7.211 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.008814/0.5015, allocations: 6.842 MB / 0.8348 GB, free: 344 kB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001532/0.503, allocations: 0.6276 MB / 0.8355 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02807/0.5311, allocations: 23.01 MB / 0.8579 GB, free: 8.309 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003344/0.5344, allocations: 1.608 MB / 0.8595 GB, free: 6.695 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000758/0.5352, allocations: 276 kB / 0.8598 GB, free: 6.426 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02366/0.5588, allocations: 13.42 MB / 0.8729 GB, free: 8.988 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001107/0.5599, allocations: 0.7384 MB / 0.8736 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.002257/0.5622, allocations: 1.387 MB / 0.8749 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.03224/0.5944, allocations: 15.56 MB / 0.8901 GB, free: 7.258 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.5945, allocations: 0 / 0.8901 GB, free: 7.258 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.254e-06/0.5945, allocations: 0 / 0.8901 GB, free: 7.258 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0002145/0.5947, allocations: 0 / 0.8901 GB, free: 7.258 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 811 * Number of variables: 811 Notification: Performance of Generate backend data structure: time 0.01288/0.6076, allocations: 6.399 MB / 0.8964 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.6076, allocations: 12.02 kB / 0.8964 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004338/0.608, allocations: 434.7 kB / 0.8968 GB, free: 344 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003286/0.6113, allocations: 1.066 MB / 0.8979 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005034/0.6164, allocations: 2.85 MB / 0.9006 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004955/0.6169, allocations: 0.8703 MB / 0.9015 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003905/0.6172, allocations: 327.9 kB / 0.9018 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005455/0.6227, allocations: 3.974 MB / 0.9057 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.809e-05/0.6227, allocations: 7.938 kB / 0.9057 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001662/0.6229, allocations: 132 kB / 0.9058 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.317e-05/0.623, allocations: 76 kB / 0.9059 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004626/0.6276, allocations: 2.779 MB / 0.9086 GB, free: 3.773 MB / 0.7448 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01207/0.6397, allocations: 10.81 MB / 0.9192 GB, free: 8.613 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004393/0.644, allocations: 2.659 MB / 0.9218 GB, free: 5.996 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0011/0.6451, allocations: 0.7568 MB / 0.9225 GB, free: 5.238 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3229/0.968, allocations: 35.07 MB / 0.9567 GB, free: 299.8 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.281e-05/0.9681, allocations: 57.53 kB / 0.9568 GB, free: 299.8 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=190): time 3.898e-06/0.9681, allocations: 0 / 0.9568 GB, free: 299.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=219): time 0.01339/0.9815, allocations: 7.073 MB / 0.9637 GB, free: 298.2 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.9815, allocations: 77.97 kB / 0.9638 GB, free: 298.1 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002815/0.9843, allocations: 2.9 MB / 0.9666 GB, free: 297.1 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001587/0.9845, allocations: 69.27 kB / 0.9667 GB, free: 297 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006679/0.9852, allocations: 1.705 MB / 0.9683 GB, free: 295.8 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003914/0.9856, allocations: 0.7623 MB / 0.9691 GB, free: 295.3 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003303/0.9859, allocations: 404.5 kB / 0.9695 GB, free: 295.1 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 3.066e-05/0.9859, allocations: 305.8 kB / 0.9698 GB, free: 294.8 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009622/0.9869, allocations: 0.6461 MB / 0.9704 GB, free: 294.6 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001085/0.988, allocations: 1.078 MB / 0.9715 GB, free: 293.8 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002101/0.9901, allocations: 1.846 MB / 0.9733 GB, free: 292.7 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.9901, allocations: 3.875 kB / 0.9733 GB, free: 292.7 MB / 0.7761 GB Notification: Performance of matching and sorting (n=272) (initialization): time 0.003186/0.9933, allocations: 2.407 MB / 0.9756 GB, free: 291.7 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.9933, allocations: 9.719 kB / 0.9756 GB, free: 291.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.9933, allocations: 12.53 kB / 0.9756 GB, free: 291.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005341/0.9938, allocations: 183 kB / 0.9758 GB, free: 291.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/0.9949, allocations: 0.5717 MB / 0.9764 GB, free: 291.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001109/0.996, allocations: 2.478 MB / 0.9788 GB, free: 289.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/0.9975, allocations: 105.6 kB / 0.9789 GB, free: 289.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/0.9976, allocations: 97.61 kB / 0.979 GB, free: 289.2 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 24 (source9.outlet.state.phase,source4.outlet.state.phase,source3.outlet.state.phase,source.outlet.state.phase,source11.outlet.state.phase,source10.outlet.state.phase,source8.outlet.state.phase,source7.outlet.state.phase,source2.outlet.state.phase,source6.outlet.state.phase,source5.outlet.state.phase,source1.outlet.state.phase,isothermalReference3.outlet.state.phase,incompressibleFluid3.outlet.state.phase,fullMedium3.outlet.state.phase,isothermalReference2.outlet.state.phase,isothermalReference1.outlet.state.phase,isothermalReference.outlet.state.phase,incompressibleFluid2.outlet.state.phase,incompressibleFluid1.outlet.state.phase,fullMedium2.outlet.state.phase,fullMedium1.outlet.state.phase,incompressibleFluid.outlet.state.phase,fullMedium.outlet.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (267): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,2), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000992/0.9986, allocations: 0.5343 MB / 0.9795 GB, free: 288.8 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004945/0.9991, allocations: 414.5 kB / 0.9799 GB, free: 288.6 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005418/1.005, allocations: 7.435 MB / 0.9872 GB, free: 284.4 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.913e-05/1.005, allocations: 79.89 kB / 0.9872 GB, free: 284.3 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/1.005, allocations: 0 / 0.9872 GB, free: 284.3 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.591e-05/1.005, allocations: 11.95 kB / 0.9872 GB, free: 284.3 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009498/1.014, allocations: 10.4 MB / 0.9974 GB, free: 273.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/1.014, allocations: 0 / 0.9974 GB, free: 273.9 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009762/1.015, allocations: 467.4 kB / 0.9978 GB, free: 273.4 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005382/1.016, allocations: 330.2 kB / 0.9982 GB, free: 273.1 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.14e-05/1.016, allocations: 55.92 kB / 0.9982 GB, free: 273.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001009/1.017, allocations: 2.667 MB / 1.001 GB, free: 270.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/1.017, allocations: 4.062 kB / 1.001 GB, free: 270.2 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00551/1.022, allocations: 5.959 MB / 1.007 GB, free: 264.2 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001337/1.024, allocations: 0.6446 MB / 1.007 GB, free: 263.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003782/1.024, allocations: 118.5 kB / 1.007 GB, free: 263.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008621/1.025, allocations: 103.9 kB / 1.007 GB, free: 263.4 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000177/1.025, allocations: 161.7 kB / 1.008 GB, free: 263.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.004e-05/1.025, allocations: 75.97 kB / 1.008 GB, free: 263.1 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.002149/1.027, allocations: 2.544 MB / 1.01 GB, free: 260.6 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.81e-07/1.027, allocations: 0 / 1.01 GB, free: 260.6 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.005258/1.032, allocations: 2.377 MB / 1.013 GB, free: 258.4 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (fullMedium1.dp,incompressibleFluid1.dp,isothermalReference1.dp) * Number of discrete variables: 40 ($cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse24.phase,$cse24.region,$cse26.phase,$cse26.region,$cse28.phase,$cse28.region,$cse30.phase,$cse30.region,$cse34.phase,$cse34.region,$cse36.phase,$cse36.region,$cse39.phase,$cse39.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (239): * Single equations (assignments): 217 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 19 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01116/1.044, allocations: 9.115 MB / 1.021 GB, free: 249.6 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.003301/1.047, allocations: 2.545 MB / 1.024 GB, free: 247 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/1.047, allocations: 4 kB / 1.024 GB, free: 247 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001633/1.049, allocations: 1.677 MB / 1.026 GB, free: 245.4 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005145/1.054, allocations: 1.86 MB / 1.027 GB, free: 243.6 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03039/1.084, allocations: 27.87 MB / 1.055 GB, free: 215 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000988/1.085, allocations: 1.987 MB / 1.057 GB, free: 213 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001886/1.087, allocations: 1.068 MB / 1.058 GB, free: 212 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001357/1.088, allocations: 2.176 MB / 1.06 GB, free: 209.8 MB / 0.7761 GB Notification: Performance of SimCode: time 1.423e-06/1.088, allocations: 3.938 kB / 1.06 GB, free: 209.8 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1567/1.245, allocations: 167.2 MB / 1.223 GB, free: 43.59 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.34/18.59, allocations: 12 kB / 1.223 GB, free: 43.57 MB / 0.7761 GB " [Timeout remaining time 641] (rm -f ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Pump.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Pump.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Pump.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Pump.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Pump_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_Pump.fmu > ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Pump.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 21.475405634380877] Failed to read output from testmodel.py, exit status != 0: 18.77256145980209 18.779111069 18.183132246 Calling exit ...