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.0008864/0.0008864, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.00121/0.00121, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9262/0.9262, 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.6533/0.6533, allocations: 116 MB / 375.2 MB, free: 4.203 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.503e-06/1.503e-06, allocations: 0 / 0.5533 GB, free: 13.29 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.254e-05/2.405e-05, allocations: 6.219 kB / 0.5533 GB, free: 13.28 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Pump): time 0.4396/0.4396, allocations: 219.3 MB / 0.7675 GB, free: 5.594 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.04019/0.4798, allocations: 42.2 MB / 0.8087 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004025/0.4838, allocations: 253.6 kB / 0.809 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.006312/0.4901, allocations: 2.358 MB / 0.8113 GB, free: 8.637 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.02608/0.5162, allocations: 12.14 MB / 0.8231 GB, free: 12.46 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.0104/0.5266, allocations: 4.95 MB / 0.828 GB, free: 7.492 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.008757/0.5354, allocations: 6.841 MB / 0.8346 GB, free: 0.6133 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001615/0.537, allocations: 0.6276 MB / 0.8353 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02846/0.5655, allocations: 23.01 MB / 0.8577 GB, free: 8.582 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003269/0.5687, allocations: 1.608 MB / 0.8593 GB, free: 6.969 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001002/0.5697, allocations: 276 kB / 0.8596 GB, free: 6.699 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0219/0.5916, allocations: 13.42 MB / 0.8727 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.000951/0.5926, allocations: 0.7423 MB / 0.8734 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.002744/0.5953, allocations: 1.387 MB / 0.8747 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.02885/0.6242, allocations: 15.55 MB / 0.8899 GB, free: 7.531 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.6242, allocations: 3.938 kB / 0.8899 GB, free: 7.527 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.134e-06/0.6242, allocations: 0 / 0.8899 GB, free: 7.527 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.000198/0.6244, allocations: 0 / 0.8899 GB, free: 7.527 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.0135/0.6379, allocations: 6.398 MB / 0.8962 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.6379, allocations: 8.031 kB / 0.8962 GB, free: 1.051 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004562/0.6384, allocations: 434.7 kB / 0.8966 GB, free: 0.6133 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003484/0.6419, allocations: 1.07 MB / 0.8976 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005323/0.6472, allocations: 2.618 MB / 0.9002 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00046/0.6477, allocations: 0.8742 MB / 0.9011 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004195/0.6481, allocations: 327.9 kB / 0.9014 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005807/0.6539, allocations: 3.974 MB / 0.9053 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.534e-05/0.6539, allocations: 7.938 kB / 0.9053 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001761/0.6541, allocations: 136 kB / 0.9054 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.092e-05/0.6541, allocations: 76 kB / 0.9055 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004564/0.6587, allocations: 2.775 MB / 0.9082 GB, free: 4.277 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.01304/0.6717, allocations: 10.67 MB / 0.9186 GB, free: 9.262 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004651/0.6764, allocations: 2.666 MB / 0.9212 GB, free: 6.637 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001168/0.6776, allocations: 0.7568 MB / 0.9219 GB, free: 5.879 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3214/0.9989, allocations: 35.03 MB / 0.9561 GB, free: 300.7 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.488e-05/0.999, allocations: 57.88 kB / 0.9562 GB, free: 300.7 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=190): time 3.377e-06/0.999, allocations: 2.734 kB / 0.9562 GB, free: 300.7 MB / 0.7761 GB Notification: Performance of matching and sorting (n=219): time 0.01456/1.014, allocations: 7.077 MB / 0.9631 GB, free: 298.7 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/1.014, allocations: 78.53 kB / 0.9632 GB, free: 298.7 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003439/1.017, allocations: 2.903 MB / 0.966 GB, free: 297.6 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002506/1.017, allocations: 63.17 kB / 0.9661 GB, free: 297.6 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007992/1.018, allocations: 1.717 MB / 0.9678 GB, free: 296.3 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004959/1.019, allocations: 0.7565 MB / 0.9685 GB, free: 295.8 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003642/1.019, allocations: 413.7 kB / 0.9689 GB, free: 295.6 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 3.328e-05/1.019, allocations: 301.1 kB / 0.9692 GB, free: 295.3 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009939/1.02, allocations: 0.6445 MB / 0.9698 GB, free: 295.1 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0011/1.021, allocations: 1.079 MB / 0.9709 GB, free: 294.4 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002172/1.023, allocations: 1.847 MB / 0.9727 GB, free: 293.3 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/1.023, allocations: 3.562 kB / 0.9727 GB, free: 293.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=272) (initialization): time 0.003222/1.026, allocations: 2.404 MB / 0.975 GB, free: 292.3 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/1.027, allocations: 11.78 kB / 0.975 GB, free: 292.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/1.027, allocations: 11.84 kB / 0.975 GB, free: 292.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005254/1.027, allocations: 188.6 kB / 0.9752 GB, free: 292.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/1.028, allocations: 0.5589 MB / 0.9758 GB, free: 292.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001089/1.029, allocations: 2.482 MB / 0.9782 GB, free: 289.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001526/1.031, allocations: 98.91 kB / 0.9783 GB, free: 289.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/1.031, allocations: 101.6 kB / 0.9784 GB, free: 289.8 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.0009908/1.032, allocations: 0.5316 MB / 0.9789 GB, free: 289.4 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005111/1.032, allocations: 418.3 kB / 0.9793 GB, free: 289.2 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0061/1.038, allocations: 7.431 MB / 0.9866 GB, free: 285.2 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.189e-05/1.038, allocations: 83.88 kB / 0.9866 GB, free: 285.1 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/1.038, allocations: 0 / 0.9866 GB, free: 285.1 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/1.038, allocations: 11.95 kB / 0.9866 GB, free: 285.1 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009857/1.048, allocations: 10.4 MB / 0.9968 GB, free: 274.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/1.048, allocations: 0 / 0.9968 GB, free: 274.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009593/1.049, allocations: 467.4 kB / 0.9972 GB, free: 274.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005557/1.05, allocations: 326 kB / 0.9976 GB, free: 274 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001127/1.05, allocations: 59.91 kB / 0.9976 GB, free: 273.9 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001003/1.051, allocations: 2.657 MB / 1 GB, free: 271.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/1.051, allocations: 4.062 kB / 1 GB, free: 271.1 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005515/1.057, allocations: 5.96 MB / 1.006 GB, free: 265 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001312/1.058, allocations: 0.6414 MB / 1.007 GB, free: 264.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003775/1.058, allocations: 118.2 kB / 1.007 GB, free: 264.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009117/1.059, allocations: 107.9 kB / 1.007 GB, free: 264.2 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000174/1.059, allocations: 161.6 kB / 1.007 GB, free: 264 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.926e-05/1.059, allocations: 75.97 kB / 1.007 GB, free: 264 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.002183/1.062, allocations: 2.552 MB / 1.01 GB, free: 261.4 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.8e-07/1.062, allocations: 0 / 1.01 GB, free: 261.4 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.005208/1.067, allocations: 2.373 MB / 1.012 GB, free: 259.3 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.01374/1.08, allocations: 9.103 MB / 1.021 GB, free: 250.5 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.003751/1.084, allocations: 2.553 MB / 1.023 GB, free: 247.9 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.084, allocations: 3.938 kB / 1.023 GB, free: 247.9 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001825/1.086, allocations: 1.674 MB / 1.025 GB, free: 246.2 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005368/1.091, allocations: 1.86 MB / 1.027 GB, free: 244.4 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03321/1.125, allocations: 27.87 MB / 1.054 GB, free: 215.9 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00116/1.126, allocations: 1.991 MB / 1.056 GB, free: 213.8 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.002031/1.128, allocations: 1.071 MB / 1.057 GB, free: 212.8 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001291/1.129, allocations: 2.172 MB / 1.059 GB, free: 210.6 MB / 0.7761 GB Notification: Performance of SimCode: time 1.773e-06/1.129, allocations: 0 / 1.059 GB, free: 210.6 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.158/1.287, allocations: 167 MB / 1.222 GB, free: 44.54 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.48/16.77, allocations: 10.8 kB / 1.222 GB, free: 44.54 MB / 0.7761 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: 19.65056124702096] Failed to read output from testmodel.py, exit status != 0: 16.951241941191256 16.956687153 16.330927513 Calling exit ...