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.0008777/0.0008777, 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.001027/0.001027, allocations: 210.6 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 1.01/1.01, allocations: 230.6 MB / 256 MB, free: 9.582 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.7534/0.7534, allocations: 150.8 MB / 463.2 MB, free: 6.461 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.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 0.001062/0.001062, allocations: 90.98 kB / 0.6392 GB, free: 32.49 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1554, allocations: 88.08 MB / 0.7252 GB, free: 8.332 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.PumpConstant): time 0.5245/0.6799, allocations: 221.3 MB / 0.9413 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.03703/0.717, allocations: 42.19 MB / 0.9825 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003839/0.7208, allocations: 253.5 kB / 0.9828 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.006401/0.7272, allocations: 2.316 MB / 0.985 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.02807/0.7553, allocations: 11.87 MB / 0.9966 GB, free: 5.23 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.01096/0.7662, allocations: 4.832 MB / 1.001 GB, free: 388 kB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.01002/0.7762, allocations: 6.593 MB / 1.008 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00149/0.7777, allocations: 0.6035 MB / 1.008 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02956/0.8073, allocations: 21.97 MB / 1.03 GB, free: 2.793 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00277/0.8101, allocations: 1.931 MB / 1.032 GB, free: 0.8516 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0008007/0.8109, allocations: 276 kB / 1.032 GB, free: 0.582 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02259/0.8335, allocations: 13.37 MB / 1.045 GB, free: 3.199 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.001228/0.8347, allocations: 0.723 MB / 1.046 GB, free: 2.473 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.002527/0.8372, allocations: 1.722 MB / 1.047 GB, free: 0.7422 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.02603/0.8632, allocations: 13.85 MB / 1.061 GB, free: 2.852 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.8632, allocations: 0 / 1.061 GB, free: 2.852 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.094e-06/0.8632, allocations: 0 / 1.061 GB, free: 2.852 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001594/0.8634, allocations: 0 / 1.061 GB, free: 2.852 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: 804 * Number of variables: 804 Notification: Performance of Generate backend data structure: time 0.0121/0.8755, allocations: 6.422 MB / 1.067 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 6.151e-05/0.8756, allocations: 8.031 kB / 1.067 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005166/0.8761, allocations: 434.5 kB / 1.068 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004063/0.8802, allocations: 1.063 MB / 1.069 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004114/0.8843, allocations: 2.603 MB / 1.071 GB, free: 8.152 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004517/0.8847, allocations: 0.878 MB / 1.072 GB, free: 7.125 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003755/0.8851, allocations: 323.9 kB / 1.072 GB, free: 6.809 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00531/0.8904, allocations: 3.942 MB / 1.076 GB, free: 2.633 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.405e-05/0.8904, allocations: 7.938 kB / 1.076 GB, free: 2.625 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001772/0.8906, allocations: 132.9 kB / 1.076 GB, free: 2.496 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.223e-05/0.8907, allocations: 80 kB / 1.076 GB, free: 2.418 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004592/0.8953, allocations: 2.74 MB / 1.079 GB, free: 15.67 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.01102/0.9063, allocations: 10.76 MB / 1.09 GB, free: 4.578 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004292/0.9106, allocations: 2.268 MB / 1.092 GB, free: 2.285 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001078/0.9117, allocations: 0.723 MB / 1.093 GB, free: 1.551 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0619/0.9735, allocations: 35.07 MB / 1.127 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.988e-05/0.9736, allocations: 64.2 kB / 1.127 GB, free: 14.37 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=186): time 3.556e-06/0.9736, allocations: 4 kB / 1.127 GB, free: 14.37 MB / 0.8698 GB Notification: Performance of matching and sorting (n=225): time 0.4815/1.455, allocations: 62.43 MB / 1.188 GB, free: 325.7 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/1.455, allocations: 126.7 kB / 1.188 GB, free: 325.6 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003246/1.458, allocations: 2.965 MB / 1.191 GB, free: 324.5 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0002884/1.459, allocations: 63.11 kB / 1.191 GB, free: 324.4 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008135/1.46, allocations: 1.727 MB / 1.193 GB, free: 323.2 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004928/1.46, allocations: 0.7988 MB / 1.193 GB, free: 322.6 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004409/1.46, allocations: 441.5 kB / 1.194 GB, free: 322.4 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 3.048e-05/1.461, allocations: 302.2 kB / 1.194 GB, free: 322.1 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001113/1.462, allocations: 0.6955 MB / 1.195 GB, free: 321.9 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001223/1.463, allocations: 1.144 MB / 1.196 GB, free: 321.2 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00243/1.465, allocations: 1.958 MB / 1.198 GB, free: 320 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.478e-06/1.465, allocations: 7.719 kB / 1.198 GB, free: 320 MB / 0.9011 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.003785/1.469, allocations: 2.545 MB / 1.2 GB, free: 319 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/1.469, allocations: 10.72 kB / 1.2 GB, free: 319 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/1.469, allocations: 12.38 kB / 1.2 GB, free: 319 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008464/1.47, allocations: 239.7 kB / 1.201 GB, free: 318.9 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/1.471, allocations: 0.5471 MB / 1.201 GB, free: 318.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00117/1.472, allocations: 2.489 MB / 1.203 GB, free: 316.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00184/1.474, allocations: 93.86 kB / 1.204 GB, free: 316.4 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001414/1.474, allocations: 114.1 kB / 1.204 GB, free: 316.4 MB / 0.9011 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.001108/1.475, allocations: 0.5368 MB / 1.204 GB, free: 316 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005883/1.476, allocations: 419.9 kB / 1.205 GB, free: 315.8 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007151/1.483, allocations: 9.322 MB / 1.214 GB, free: 312 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.503e-05/1.483, allocations: 88.5 kB / 1.214 GB, free: 311.9 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/1.483, allocations: 3.906 kB / 1.214 GB, free: 311.9 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-05/1.483, allocations: 14.77 kB / 1.214 GB, free: 311.9 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01013/1.493, allocations: 12.3 MB / 1.226 GB, free: 306.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.317e-05/1.493, allocations: 3.719 kB / 1.226 GB, free: 306.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009541/1.494, allocations: 434.7 kB / 1.226 GB, free: 306.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009117/1.495, allocations: 376.7 kB / 1.227 GB, free: 306.4 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.359e-05/1.495, allocations: 54.25 kB / 1.227 GB, free: 306.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/1.496, allocations: 2.677 MB / 1.229 GB, free: 303.9 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/1.496, allocations: 3.938 kB / 1.229 GB, free: 303.9 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0058/1.502, allocations: 6.259 MB / 1.235 GB, free: 300.8 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001366/1.503, allocations: 0.6612 MB / 1.236 GB, free: 300.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003714/1.504, allocations: 137.2 kB / 1.236 GB, free: 300.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009808/1.505, allocations: 103.8 kB / 1.236 GB, free: 300.3 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001955/1.505, allocations: 168 kB / 1.236 GB, free: 300.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-05/1.505, allocations: 79.19 kB / 1.237 GB, free: 300.3 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.002387/1.507, allocations: 2.82 MB / 1.239 GB, free: 299.3 MB / 0.9011 GB Notification: Performance of sort global known variables: time 3e-08/1.507, allocations: 0 / 1.239 GB, free: 299.3 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.01318/1.521, allocations: 4.885 MB / 1.244 GB, free: 299 MB / 0.9011 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.02793/1.549, allocations: 10.59 MB / 1.254 GB, free: 289.6 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.005898/1.554, allocations: 2.639 MB / 1.257 GB, free: 287.3 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/1.554, allocations: 7.938 kB / 1.257 GB, free: 287.3 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.002942/1.557, allocations: 1.703 MB / 1.259 GB, free: 285.7 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009066/1.566, allocations: 1.863 MB / 1.26 GB, free: 284.4 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05111/1.618, allocations: 29.55 MB / 1.289 GB, free: 256 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/1.619, allocations: 2.039 MB / 1.291 GB, free: 254 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.002402/1.621, allocations: 1.314 MB / 1.293 GB, free: 252.7 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001597/1.623, allocations: 2.272 MB / 1.295 GB, free: 250.5 MB / 0.9011 GB Notification: Performance of SimCode: time 1.843e-06/1.623, allocations: 0 / 1.295 GB, free: 250.5 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6034/2.226, allocations: 288.2 MB / 1.576 GB, free: 306.4 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.8/22.03, allocations: 11.42 kB / 1.576 GB, free: 306.4 MB / 0.9011 GB " [Timeout remaining time 638] (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: 25.36013235617429] Failed to read output from testmodel.py, exit status != 0: 22.27120444085449 22.281108075 21.415895128 Calling exit ...