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.0008387/0.0008387, 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.0009049/0.0009049, allocations: 212.1 kB / 22.25 MB, free: 3.586 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.949/0.949, allocations: 230.6 MB / 256 MB, free: 9.629 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.7271/0.7271, allocations: 150.8 MB / 463.2 MB, free: 6.09 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.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 0.001035/0.001035, allocations: 79.88 kB / 0.6392 GB, free: 32.51 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1662, allocations: 88.07 MB / 0.7252 GB, free: 8.238 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Pump): time 0.5601/0.7263, allocations: 221.4 MB / 0.9414 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.03813/0.7644, allocations: 42.19 MB / 0.9826 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003838/0.7683, allocations: 257.5 kB / 0.9829 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.004531/0.7728, allocations: 2.316 MB / 0.9851 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0257/0.7985, allocations: 11.87 MB / 0.9967 GB, free: 5.109 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.01003/0.8085, allocations: 4.847 MB / 1.001 GB, free: 248 kB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.007836/0.8164, allocations: 6.585 MB / 1.008 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009217/0.8173, allocations: 0.6237 MB / 1.008 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02911/0.8464, allocations: 21.97 MB / 1.03 GB, free: 2.641 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002448/0.8488, allocations: 1.95 MB / 1.032 GB, free: 0.6797 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0004083/0.8492, allocations: 280 kB / 1.032 GB, free: 416 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02453/0.8738, allocations: 13.36 MB / 1.045 GB, free: 3.035 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0008342/0.8746, allocations: 0.7269 MB / 1.046 GB, free: 2.305 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.002855/0.8775, allocations: 1.718 MB / 1.048 GB, free: 0.5781 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.03125/0.9087, allocations: 13.88 MB / 1.061 GB, free: 2.66 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 9.488e-06/0.9087, allocations: 7.984 kB / 1.061 GB, free: 2.652 MB / 0.7917 GB Notification: Performance of FrontEnd: time 3.477e-06/0.9087, allocations: 0 / 1.061 GB, free: 2.652 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0002003/0.9089, allocations: 0 / 1.061 GB, free: 2.652 MB / 0.7917 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.01277/0.9217, allocations: 6.453 MB / 1.067 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.9218, allocations: 12.03 kB / 1.067 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003734/0.9221, allocations: 438.7 kB / 1.068 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003741/0.9259, allocations: 1.063 MB / 1.069 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003996/0.9299, allocations: 2.614 MB / 1.071 GB, free: 7.906 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004907/0.9304, allocations: 0.8777 MB / 1.072 GB, free: 6.883 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002925/0.9306, allocations: 323.9 kB / 1.073 GB, free: 6.566 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005328/0.936, allocations: 3.978 MB / 1.076 GB, free: 2.352 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.806e-05/0.936, allocations: 3.938 kB / 1.076 GB, free: 2.348 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001653/0.9362, allocations: 135.9 kB / 1.077 GB, free: 2.215 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.134e-05/0.9362, allocations: 80 kB / 1.077 GB, free: 2.137 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004703/0.9409, allocations: 2.774 MB / 1.079 GB, free: 15.35 MB / 0.823 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.0103/0.9512, allocations: 10.69 MB / 1.09 GB, free: 4.305 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004584/0.9558, allocations: 2.655 MB / 1.092 GB, free: 1.684 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001055/0.9569, allocations: 0.7603 MB / 1.093 GB, free: 0.918 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06135/1.018, allocations: 35.05 MB / 1.127 GB, free: 13.82 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.248e-05/1.018, allocations: 56.56 kB / 1.127 GB, free: 13.76 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=190): time 4.288e-06/1.018, allocations: 0 / 1.127 GB, free: 13.76 MB / 0.8698 GB Notification: Performance of matching and sorting (n=219): time 0.01379/1.032, allocations: 7.085 MB / 1.134 GB, free: 6.633 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/1.032, allocations: 73.41 kB / 1.134 GB, free: 6.547 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002654/1.035, allocations: 2.909 MB / 1.137 GB, free: 3.621 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.574e-05/1.035, allocations: 61.7 kB / 1.137 GB, free: 3.555 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00089/1.036, allocations: 1.706 MB / 1.139 GB, free: 1.84 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000403/1.036, allocations: 0.7667 MB / 1.14 GB, free: 1.066 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003716/1.037, allocations: 407.8 kB / 1.14 GB, free: 0.6602 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.213e-05/1.037, allocations: 309.1 kB / 1.14 GB, free: 364 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00137/1.038, allocations: 0.6444 MB / 1.141 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001308/1.039, allocations: 1.082 MB / 1.142 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002397/1.042, allocations: 1.846 MB / 1.144 GB, free: 12.44 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/1.042, allocations: 4 kB / 1.144 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of matching and sorting (n=272) (initialization): time 0.003355/1.045, allocations: 2.399 MB / 1.146 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.829e-05/1.045, allocations: 12 kB / 1.146 GB, free: 10 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/1.045, allocations: 12.88 kB / 1.146 GB, free: 9.992 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005988/1.046, allocations: 198.4 kB / 1.146 GB, free: 9.789 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/1.047, allocations: 0.5617 MB / 1.147 GB, free: 9.227 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001885/1.049, allocations: 2.478 MB / 1.149 GB, free: 6.586 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/1.05, allocations: 107.9 kB / 1.15 GB, free: 6.48 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/1.05, allocations: 96.09 kB / 1.15 GB, free: 6.387 MB / 0.8855 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.0008778/1.051, allocations: 0.5402 MB / 1.15 GB, free: 5.836 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003619/1.051, allocations: 413.3 kB / 1.151 GB, free: 5.43 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007031/1.058, allocations: 7.386 MB / 1.158 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-05/1.058, allocations: 87.88 kB / 1.158 GB, free: 13.84 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/1.058, allocations: 3.938 kB / 1.158 GB, free: 13.84 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.61e-05/1.058, allocations: 15.89 kB / 1.158 GB, free: 13.82 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009526/1.068, allocations: 10.36 MB / 1.168 GB, free: 3.328 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/1.068, allocations: 4 kB / 1.168 GB, free: 3.324 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009779/1.069, allocations: 471.3 kB / 1.168 GB, free: 2.863 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008069/1.07, allocations: 321.1 kB / 1.169 GB, free: 2.543 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001024/1.07, allocations: 51.97 kB / 1.169 GB, free: 2.492 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3397/1.41, allocations: 2.663 MB / 1.171 GB, free: 347.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/1.41, allocations: 4.266 kB / 1.171 GB, free: 347.4 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007787/1.417, allocations: 5.955 MB / 1.177 GB, free: 346 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001123/1.418, allocations: 0.6406 MB / 1.178 GB, free: 345.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003019/1.419, allocations: 122.1 kB / 1.178 GB, free: 345.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009132/1.42, allocations: 105.2 kB / 1.178 GB, free: 345.9 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002448/1.42, allocations: 161.8 kB / 1.178 GB, free: 345.8 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/1.42, allocations: 71.27 kB / 1.178 GB, free: 345.8 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.003349/1.423, allocations: 2.547 MB / 1.181 GB, free: 344.9 MB / 0.9011 GB Notification: Performance of sort global known variables: time 8e-08/1.423, allocations: 0.5 kB / 1.181 GB, free: 344.9 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.007556/1.431, allocations: 2.378 MB / 1.183 GB, free: 344.7 MB / 0.9011 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.01362/1.445, allocations: 8.89 MB / 1.192 GB, free: 341.7 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.00386/1.448, allocations: 2.548 MB / 1.194 GB, free: 340.8 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.448, allocations: 4.5 kB / 1.194 GB, free: 340.8 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001817/1.45, allocations: 1.674 MB / 1.196 GB, free: 340.1 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004758/1.455, allocations: 1.87 MB / 1.198 GB, free: 339.7 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02808/1.483, allocations: 27.76 MB / 1.225 GB, free: 322.2 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001087/1.484, allocations: 1.994 MB / 1.227 GB, free: 320.9 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.002052/1.486, allocations: 1.066 MB / 1.228 GB, free: 320.2 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00137/1.488, allocations: 2.175 MB / 1.23 GB, free: 318.2 MB / 0.9011 GB Notification: Performance of SimCode: time 1.623e-06/1.488, allocations: 0 / 1.23 GB, free: 318.2 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1475/1.635, allocations: 166.9 MB / 1.393 GB, free: 152.1 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.37/17.01, allocations: 12 kB / 1.393 GB, free: 152 MB / 0.9011 GB " [Timeout remaining time 643] (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: 20.12220285087824] Failed to read output from testmodel.py, exit status != 0: 17.18900509737432 17.197754924 16.286673407 Calling exit ...