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.0008857/0.0008857, 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.0009008/0.0009008, allocations: 162 kB / 22.57 MB, free: 1.953 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.8999/0.8999, allocations: 177.1 MB / 202.9 MB, free: 5.668 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.6451/0.6451, allocations: 116 MB / 375.4 MB, free: 4.164 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.704e-06/1.704e-06, allocations: 0 / 0.5535 GB, free: 13.18 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.74e-05/1.911e-05, allocations: 2.312 kB / 0.5535 GB, free: 13.18 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.PumpConstant): time 0.3821/0.3821, allocations: 219.2 MB / 0.7676 GB, free: 5.582 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.03464/0.4168, allocations: 42.17 MB / 0.8088 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003617/0.4204, allocations: 257.5 kB / 0.8091 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.005165/0.4256, allocations: 2.354 MB / 0.8114 GB, free: 8.656 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.0238/0.4494, allocations: 12.14 MB / 0.8232 GB, free: 12.46 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.009678/0.459, allocations: 4.934 MB / 0.828 GB, free: 7.504 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.007559/0.4666, allocations: 6.864 MB / 0.8347 GB, free: 0.6055 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001112/0.4677, allocations: 0.5996 MB / 0.8353 GB, free: 15.95 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02635/0.4941, allocations: 22.99 MB / 0.8578 GB, free: 8.621 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00248/0.4965, allocations: 1.604 MB / 0.8593 GB, free: 7.012 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003915/0.4969, allocations: 280 kB / 0.8596 GB, free: 6.738 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02229/0.5192, allocations: 13.41 MB / 0.8727 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0008805/0.5201, allocations: 0.7384 MB / 0.8734 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001757/0.5219, allocations: 1.379 MB / 0.8748 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.02827/0.5501, allocations: 15.54 MB / 0.8899 GB, free: 7.602 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.5501, allocations: 0 / 0.8899 GB, free: 7.602 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.064e-06/0.5501, allocations: 4 kB / 0.8899 GB, free: 7.598 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.438e-05/0.5502, allocations: 0 / 0.8899 GB, free: 7.598 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.009103/0.5593, allocations: 6.371 MB / 0.8962 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.5593, allocations: 8.031 kB / 0.8962 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003388/0.5597, allocations: 430.5 kB / 0.8966 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002961/0.5626, allocations: 1.07 MB / 0.8976 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003349/0.566, allocations: 2.833 MB / 0.9004 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004103/0.5664, allocations: 0.8702 MB / 0.9012 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005116/0.5669, allocations: 327.8 kB / 0.9016 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004475/0.5714, allocations: 3.942 MB / 0.9054 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.257e-05/0.5714, allocations: 7.938 kB / 0.9054 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001678/0.5716, allocations: 132 kB / 0.9055 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.13e-05/0.5716, allocations: 80 kB / 0.9056 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004305/0.5759, allocations: 2.74 MB / 0.9083 GB, free: 4.242 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.009704/0.5856, allocations: 10.87 MB / 0.9189 GB, free: 9.047 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003627/0.5893, allocations: 2.293 MB / 0.9211 GB, free: 6.734 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009311/0.5902, allocations: 0.7106 MB / 0.9218 GB, free: 6.02 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3073/0.8974, allocations: 35.08 MB / 0.9561 GB, free: 300.2 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.883e-05/0.8975, allocations: 56.31 kB / 0.9561 GB, free: 300.2 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=186): time 4.428e-06/0.8975, allocations: 0 / 0.9561 GB, free: 300.2 MB / 0.7761 GB Notification: Performance of matching and sorting (n=225): time 0.09243/0.9899, allocations: 62.45 MB / 1.017 GB, free: 253.6 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.99, allocations: 137.7 kB / 1.017 GB, free: 253.4 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002019/0.992, allocations: 2.959 MB / 1.02 GB, free: 250.4 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.306e-05/0.9921, allocations: 61.7 kB / 1.02 GB, free: 250.4 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005547/0.9926, allocations: 1.733 MB / 1.022 GB, free: 248.7 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002741/0.9929, allocations: 0.7784 MB / 1.023 GB, free: 248.1 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000304/0.9932, allocations: 436 kB / 1.023 GB, free: 247.6 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 2.399e-05/0.9932, allocations: 309 kB / 1.023 GB, free: 247.3 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009024/0.9941, allocations: 0.6992 MB / 1.024 GB, free: 246.6 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/0.9951, allocations: 1.138 MB / 1.025 GB, free: 245.3 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002026/0.9972, allocations: 1.962 MB / 1.027 GB, free: 243.2 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.9972, allocations: 4 kB / 1.027 GB, free: 243.2 MB / 0.7761 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.002903/1, allocations: 2.547 MB / 1.03 GB, free: 240.6 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/1, allocations: 8.656 kB / 1.03 GB, free: 240.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/1, allocations: 12 kB / 1.03 GB, free: 240.6 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007073/1.001, allocations: 238.3 kB / 1.03 GB, free: 240.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009982/1.002, allocations: 0.55 MB / 1.03 GB, free: 239.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001183/1.003, allocations: 2.477 MB / 1.033 GB, free: 237.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/1.004, allocations: 87.95 kB / 1.033 GB, free: 237.1 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/1.004, allocations: 112 kB / 1.033 GB, free: 237 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.0008063/1.005, allocations: 0.5434 MB / 1.034 GB, free: 236.4 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003003/1.005, allocations: 425.3 kB / 1.034 GB, free: 236 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005626/1.011, allocations: 9.361 MB / 1.043 GB, free: 226.7 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.395e-05/1.011, allocations: 87.88 kB / 1.043 GB, free: 226.6 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/1.011, allocations: 0 / 1.043 GB, free: 226.6 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/1.011, allocations: 15.89 kB / 1.043 GB, free: 226.6 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008165/1.019, allocations: 12.31 MB / 1.055 GB, free: 214.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/1.019, allocations: 7.984 kB / 1.055 GB, free: 214.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008698/1.02, allocations: 427.4 kB / 1.056 GB, free: 213.9 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007449/1.021, allocations: 374.1 kB / 1.056 GB, free: 213.5 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001039/1.021, allocations: 55.97 kB / 1.056 GB, free: 213.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009036/1.022, allocations: 2.677 MB / 1.059 GB, free: 210.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.022, allocations: 7.938 kB / 1.059 GB, free: 210.6 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005014/1.027, allocations: 6.256 MB / 1.065 GB, free: 204.2 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009116/1.028, allocations: 0.6685 MB / 1.065 GB, free: 203.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002899/1.028, allocations: 129.5 kB / 1.066 GB, free: 203.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008461/1.029, allocations: 99.91 kB / 1.066 GB, free: 203.4 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001617/1.029, allocations: 169.9 kB / 1.066 GB, free: 203.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-05/1.029, allocations: 83.91 kB / 1.066 GB, free: 203.1 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.002028/1.031, allocations: 2.815 MB / 1.069 GB, free: 200.3 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/1.031, allocations: 0 / 1.069 GB, free: 200.3 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.01032/1.041, allocations: 4.886 MB / 1.073 GB, free: 195.7 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.02193/1.063, allocations: 11.01 MB / 1.084 GB, free: 184.9 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.003165/1.067, allocations: 2.64 MB / 1.087 GB, free: 182.2 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/1.067, allocations: 0 / 1.087 GB, free: 182.2 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0014/1.068, allocations: 1.708 MB / 1.088 GB, free: 180.5 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004432/1.072, allocations: 1.845 MB / 1.09 GB, free: 178.8 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03408/1.106, allocations: 29.66 MB / 1.119 GB, free: 148.4 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009653/1.107, allocations: 2.043 MB / 1.121 GB, free: 146.3 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001885/1.109, allocations: 1.298 MB / 1.122 GB, free: 145 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001278/1.111, allocations: 2.277 MB / 1.125 GB, free: 142.7 MB / 0.7761 GB Notification: Performance of SimCode: time 1.473e-06/1.111, allocations: 0 / 1.125 GB, free: 142.7 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5514/1.662, allocations: 288.5 MB / 1.406 GB, free: 108.7 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.48/26.14, allocations: 4.062 kB / 1.406 GB, free: 108.7 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: 29.003890422172844] Failed to read output from testmodel.py, exit status != 0: 26.3908933410421 26.398640249 25.846922485 Calling exit ...