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.0007744/0.0007744, allocations: 101.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.0008055/0.0008055, allocations: 213.2 kB / 22.25 MB, free: 3.566 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.9541/0.9541, allocations: 230.6 MB / 256 MB, free: 9.586 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.7329/0.7329, allocations: 150.8 MB / 463.2 MB, free: 6.457 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.001207/0.001207, allocations: 92.34 kB / 0.6392 GB, free: 32.45 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.151, allocations: 88.07 MB / 0.7252 GB, free: 8.344 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Pump): time 0.522/0.673, allocations: 221.4 MB / 0.9414 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.04106/0.7141, allocations: 42.2 MB / 0.9826 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005002/0.7191, allocations: 257.5 kB / 0.9829 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.00641/0.7255, allocations: 2.313 MB / 0.9851 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.02699/0.7525, allocations: 11.88 MB / 0.9967 GB, free: 5.172 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.01293/0.7654, allocations: 4.844 MB / 1.001 GB, free: 316 kB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.009301/0.7747, allocations: 6.574 MB / 1.008 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001805/0.7765, allocations: 0.6237 MB / 1.009 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02954/0.8061, allocations: 21.98 MB / 1.03 GB, free: 2.707 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003576/0.8096, allocations: 1.943 MB / 1.032 GB, free: 0.7539 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0009017/0.8105, allocations: 276 kB / 1.032 GB, free: 496 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0241/0.8346, allocations: 13.36 MB / 1.045 GB, free: 3.109 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.001165/0.8358, allocations: 0.7385 MB / 1.046 GB, free: 2.367 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.002621/0.8384, allocations: 1.718 MB / 1.048 GB, free: 0.6406 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.02838/0.8668, allocations: 13.87 MB / 1.061 GB, free: 2.727 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.8668, allocations: 4 kB / 1.061 GB, free: 2.723 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8668, allocations: 0 / 1.061 GB, free: 2.723 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001704/0.867, allocations: 0 / 1.061 GB, free: 2.723 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.01167/0.8787, allocations: 6.449 MB / 1.067 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.8787, allocations: 16.02 kB / 1.067 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003797/0.8791, allocations: 434.7 kB / 1.068 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003669/0.8828, allocations: 1.066 MB / 1.069 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004682/0.8874, allocations: 2.613 MB / 1.071 GB, free: 7.98 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003936/0.8878, allocations: 0.878 MB / 1.072 GB, free: 6.953 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003066/0.8881, allocations: 323.9 kB / 1.073 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00557/0.8937, allocations: 3.966 MB / 1.076 GB, free: 2.434 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.095e-05/0.8938, allocations: 7.938 kB / 1.076 GB, free: 2.426 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001866/0.8939, allocations: 132 kB / 1.077 GB, free: 2.297 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.053e-05/0.894, allocations: 84 kB / 1.077 GB, free: 2.215 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005392/0.8994, allocations: 2.77 MB / 1.079 GB, free: 15.43 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.01281/0.9122, allocations: 10.7 MB / 1.09 GB, free: 4.379 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004792/0.917, allocations: 2.663 MB / 1.092 GB, free: 1.75 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001115/0.9181, allocations: 0.7603 MB / 1.093 GB, free: 0.9844 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06509/0.9832, allocations: 35.05 MB / 1.127 GB, free: 13.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.38e-05/0.9833, allocations: 56.56 kB / 1.127 GB, free: 13.84 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=190): time 4.859e-06/0.9833, allocations: 4 kB / 1.127 GB, free: 13.83 MB / 0.8698 GB Notification: Performance of matching and sorting (n=219): time 0.01558/0.9988, allocations: 7.081 MB / 1.134 GB, free: 6.703 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.724e-05/0.9989, allocations: 77.41 kB / 1.134 GB, free: 6.613 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003607/1.003, allocations: 2.909 MB / 1.137 GB, free: 3.688 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002816/1.003, allocations: 69.64 kB / 1.137 GB, free: 3.613 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009956/1.004, allocations: 1.699 MB / 1.139 GB, free: 1.906 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005077/1.004, allocations: 0.7706 MB / 1.14 GB, free: 1.129 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000408/1.005, allocations: 411.8 kB / 1.14 GB, free: 0.7188 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.398e-05/1.005, allocations: 309.1 kB / 1.14 GB, free: 424 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001167/1.006, allocations: 0.6445 MB / 1.141 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001624/1.008, allocations: 1.074 MB / 1.142 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002569/1.01, allocations: 1.85 MB / 1.144 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/1.01, allocations: 8 kB / 1.144 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of matching and sorting (n=272) (initialization): time 0.003793/1.014, allocations: 2.399 MB / 1.146 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/1.014, allocations: 8 kB / 1.146 GB, free: 10.06 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/1.014, allocations: 12 kB / 1.146 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006269/1.015, allocations: 194.7 kB / 1.147 GB, free: 9.852 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/1.016, allocations: 0.5578 MB / 1.147 GB, free: 9.293 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001847/1.018, allocations: 2.478 MB / 1.149 GB, free: 6.652 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/1.019, allocations: 96 kB / 1.15 GB, free: 6.559 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/1.019, allocations: 99.97 kB / 1.15 GB, free: 6.461 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.001021/1.02, allocations: 0.5402 MB / 1.15 GB, free: 5.91 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004542/1.021, allocations: 421.3 kB / 1.151 GB, free: 5.496 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007235/1.028, allocations: 7.384 MB / 1.158 GB, free: 14 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.974e-05/1.028, allocations: 83.88 kB / 1.158 GB, free: 13.91 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/1.028, allocations: 0 / 1.158 GB, free: 13.91 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-05/1.028, allocations: 19.89 kB / 1.158 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01191/1.04, allocations: 10.37 MB / 1.168 GB, free: 3.395 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/1.04, allocations: 4 kB / 1.168 GB, free: 3.391 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/1.041, allocations: 463.4 kB / 1.168 GB, free: 2.938 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007555/1.042, allocations: 336.1 kB / 1.169 GB, free: 2.605 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001407/1.042, allocations: 51.98 kB / 1.169 GB, free: 2.555 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3494/1.391, allocations: 2.656 MB / 1.171 GB, free: 347.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/1.391, allocations: 4.312 kB / 1.171 GB, free: 347.3 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009232/1.401, allocations: 5.957 MB / 1.177 GB, free: 345.9 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001843/1.402, allocations: 0.6372 MB / 1.178 GB, free: 345.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000496/1.403, allocations: 117.3 kB / 1.178 GB, free: 345.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/1.404, allocations: 105.9 kB / 1.178 GB, free: 345.8 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000438/1.405, allocations: 161.3 kB / 1.178 GB, free: 345.8 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001613/1.405, allocations: 75.81 kB / 1.178 GB, free: 345.7 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.004975/1.41, allocations: 2.547 MB / 1.181 GB, free: 344.8 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.9e-07/1.41, allocations: 0 / 1.181 GB, free: 344.8 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.007355/1.417, allocations: 2.372 MB / 1.183 GB, free: 344.6 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.01554/1.433, allocations: 8.899 MB / 1.192 GB, free: 341.6 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.004343/1.437, allocations: 2.546 MB / 1.194 GB, free: 340.7 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/1.437, allocations: 1.219 kB / 1.194 GB, free: 340.7 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.002185/1.439, 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.006346/1.446, allocations: 1.86 MB / 1.198 GB, free: 339.6 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03277/1.478, allocations: 27.79 MB / 1.225 GB, free: 322.3 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001192/1.479, allocations: 1.989 MB / 1.227 GB, free: 321 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.002512/1.482, allocations: 1.067 MB / 1.228 GB, free: 320.3 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001346/1.483, allocations: 2.166 MB / 1.23 GB, free: 318.3 MB / 0.9011 GB Notification: Performance of SimCode: time 2.104e-06/1.483, allocations: 0 / 1.23 GB, free: 318.3 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1735/1.657, allocations: 167 MB / 1.393 GB, free: 152.1 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.09/15.75, allocations: 8.047 kB / 1.393 GB, free: 152.1 MB / 0.9011 GB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Pump_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Pump_fmu --startTime=0 --stopTime=1 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 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: 18.784208089113235] Failed to read output from testmodel.py, exit status != 0: 15.926530735567212 15.933816135 15.065333382 Calling exit ...