Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.PumpConstant.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.001066/0.001066, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.001079/0.001079, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.896/0.896, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.6383/0.6383, allocations: 116 MB / 375.2 MB, free: 4.188 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.PumpConstant,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_PumpConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.PumpConstant,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_PumpConstant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.5533 GB, free: 13.29 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.577e-05/1.752e-05, allocations: 2.281 kB / 0.5533 GB, free: 13.28 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.PumpConstant): time 0.3984/0.3985, allocations: 219.2 MB / 0.7674 GB, free: 5.664 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.03845/0.4369, allocations: 42.17 MB / 0.8086 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003987/0.4409, allocations: 253.5 kB / 0.8088 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.004828/0.4457, allocations: 2.354 MB / 0.8111 GB, free: 8.738 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.02432/0.47, allocations: 12.15 MB / 0.823 GB, free: 12.57 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.00938/0.4794, allocations: 4.942 MB / 0.8278 GB, free: 7.602 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.006508/0.4859, allocations: 6.858 MB / 0.8345 GB, free: 0.7109 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007658/0.4867, allocations: 0.6034 MB / 0.8351 GB, free: 52 kB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02382/0.5105, allocations: 22.99 MB / 0.8576 GB, free: 8.719 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001789/0.5123, allocations: 1.604 MB / 0.8591 GB, free: 7.109 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002773/0.5126, allocations: 283.9 kB / 0.8594 GB, free: 6.832 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02126/0.5338, allocations: 13.41 MB / 0.8725 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0004933/0.5343, allocations: 0.7423 MB / 0.8732 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001311/0.5356, allocations: 1.379 MB / 0.8746 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.02131/0.557, allocations: 15.53 MB / 0.8897 GB, free: 7.707 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.557, allocations: 0 / 0.8897 GB, free: 7.707 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.595e-06/0.557, allocations: 0 / 0.8897 GB, free: 7.707 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.176e-05/0.557, allocations: 0 / 0.8897 GB, free: 7.707 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: 804 * Number of variables: 804 Notification: Performance of Generate backend data structure: time 0.008499/0.5655, allocations: 6.382 MB / 0.896 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.5655, allocations: 12.03 kB / 0.896 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003287/0.5659, allocations: 430.5 kB / 0.8964 GB, free: 0.8086 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002669/0.5685, allocations: 1.063 MB / 0.8974 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003153/0.5717, allocations: 2.603 MB / 0.9 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003649/0.5721, allocations: 0.8702 MB / 0.9008 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002494/0.5723, allocations: 323.8 kB / 0.9011 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004199/0.5765, allocations: 3.95 MB / 0.905 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.842e-05/0.5766, allocations: 7.922 kB / 0.905 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000397/0.5769, allocations: 132 kB / 0.9051 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.57e-05/0.577, allocations: 80 kB / 0.9052 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00381/0.5808, allocations: 2.744 MB / 0.9079 GB, free: 4.566 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.01172/0.5925, allocations: 10.75 MB / 0.9184 GB, free: 9.488 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004195/0.5967, allocations: 2.275 MB / 0.9206 GB, free: 7.195 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001205/0.5979, allocations: 0.7145 MB / 0.9213 GB, free: 6.477 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3309/0.9289, allocations: 35.04 MB / 0.9555 GB, free: 300.6 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.395e-05/0.9289, allocations: 57.94 kB / 0.9556 GB, free: 300.5 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=186): time 3.697e-06/0.9289, allocations: 3.844 kB / 0.9556 GB, free: 300.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=225): time 0.0943/1.023, allocations: 62.46 MB / 1.017 GB, free: 254 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/1.023, allocations: 125.7 kB / 1.017 GB, free: 253.9 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002065/1.025, allocations: 2.962 MB / 1.02 GB, free: 250.9 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.087e-05/1.025, allocations: 65.7 kB / 1.02 GB, free: 250.8 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000608/1.026, allocations: 1.724 MB / 1.021 GB, free: 249.2 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002785/1.026, allocations: 0.7811 MB / 1.022 GB, free: 248.5 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003402/1.027, allocations: 440 kB / 1.022 GB, free: 248.1 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 2.817e-05/1.027, allocations: 305.1 kB / 1.023 GB, free: 247.8 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009388/1.028, allocations: 0.6954 MB / 1.023 GB, free: 247.1 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/1.029, allocations: 1.138 MB / 1.025 GB, free: 245.8 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002088/1.031, allocations: 1.966 MB / 1.026 GB, free: 243.6 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/1.031, allocations: 4 kB / 1.026 GB, free: 243.6 MB / 0.7761 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.00281/1.034, allocations: 2.547 MB / 1.029 GB, free: 241.1 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/1.034, allocations: 13.72 kB / 1.029 GB, free: 241.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/1.034, allocations: 12 kB / 1.029 GB, free: 241 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006875/1.034, allocations: 238.2 kB / 1.029 GB, free: 240.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/1.035, allocations: 0.5539 MB / 1.03 GB, free: 240.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009542/1.036, allocations: 2.472 MB / 1.032 GB, free: 237.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00079/1.037, allocations: 96.11 kB / 1.032 GB, free: 237.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/1.037, allocations: 112 kB / 1.032 GB, free: 237.4 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 (source11.outlet.state.phase,source10.outlet.state.phase,source9.outlet.state.phase,source4.outlet.state.phase,source3.outlet.state.phase,source.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 (277): * Single equations (assignments): 274 * 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.0006553/1.038, allocations: 0.539 MB / 1.033 GB, free: 236.9 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002804/1.038, allocations: 421.3 kB / 1.033 GB, free: 236.5 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005595/1.044, allocations: 9.362 MB / 1.042 GB, free: 227.2 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.217e-05/1.044, allocations: 83.88 kB / 1.043 GB, free: 227.1 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/1.044, allocations: 4 kB / 1.043 GB, free: 227.1 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/1.044, allocations: 15.89 kB / 1.043 GB, free: 227.1 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008027/1.052, allocations: 12.31 MB / 1.055 GB, free: 214.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.849e-06/1.052, allocations: 0 / 1.055 GB, free: 214.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008909/1.053, allocations: 431.3 kB / 1.055 GB, free: 214.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007175/1.053, allocations: 371.4 kB / 1.055 GB, free: 214 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.841e-05/1.053, allocations: 55.98 kB / 1.055 GB, free: 213.9 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008866/1.054, allocations: 2.673 MB / 1.058 GB, free: 211.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/1.054, allocations: 4.031 kB / 1.058 GB, free: 211.1 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004829/1.059, allocations: 6.257 MB / 1.064 GB, free: 204.7 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006671/1.06, allocations: 0.6689 MB / 1.065 GB, free: 204.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002357/1.06, allocations: 137.9 kB / 1.065 GB, free: 204 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008257/1.061, allocations: 99.92 kB / 1.065 GB, free: 203.9 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/1.061, allocations: 158.2 kB / 1.065 GB, free: 203.7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-05/1.061, allocations: 83.91 kB / 1.065 GB, free: 203.6 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001907/1.063, allocations: 2.815 MB / 1.068 GB, free: 200.8 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9.1e-08/1.063, allocations: 0 / 1.068 GB, free: 200.8 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.008768/1.072, allocations: 4.897 MB / 1.073 GB, free: 196.2 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 3 (isothermalReference1.dp,incompressibleFluid1.dp,fullMedium1.dp) * Number of discrete variables: 42 ($cse29.phase,$cse29.region,$cse31.phase,$cse31.region,$cse33.phase,$cse33.region,$cse35.phase,$cse35.region,$cse36.phase,$cse36.region,$cse40.phase,$cse40.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$cse23.phase,$cse23.region,$cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 219 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * 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.01911/1.091, allocations: 11 MB / 1.084 GB, free: 185.4 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00316/1.094, allocations: 2.643 MB / 1.086 GB, free: 182.7 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/1.094, allocations: 1.188 kB / 1.086 GB, free: 182.7 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001503/1.096, allocations: 1.711 MB / 1.088 GB, free: 181 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004554/1.1, allocations: 1.838 MB / 1.09 GB, free: 179.2 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03099/1.131, allocations: 29.66 MB / 1.119 GB, free: 148.8 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009882/1.132, allocations: 2.043 MB / 1.121 GB, free: 146.8 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001766/1.134, allocations: 1.303 MB / 1.122 GB, free: 145.5 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001303/1.135, allocations: 2.273 MB / 1.124 GB, free: 143.2 MB / 0.7761 GB Notification: Performance of SimCode: time 1.082e-06/1.135, allocations: 0 / 1.124 GB, free: 143.2 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5174/1.653, allocations: 288.4 MB / 1.406 GB, free: 108.5 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.97/25.63, allocations: 2 kB / 1.406 GB, free: 108.5 MB / 0.7761 GB " [Timeout remaining time 634] (rm -f ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.PumpConstant.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.PumpConstant.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.PumpConstant.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.PumpConstant.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.PumpConstant_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_PumpConstant.fmu > ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.PumpConstant.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 28.519218826666474] Failed to read output from testmodel.py, exit status != 0: 25.871025969274342 25.878773244 25.320141943 Calling exit ...