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.0009343/0.0009343, 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.0009201/0.0009201, 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.9389/0.9389, allocations: 230.6 MB / 256 MB, free: 9.609 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.7079/0.7079, 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.001277/0.001277, allocations: 83.72 kB / 0.6392 GB, free: 32.5 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1492, allocations: 88.08 MB / 0.7252 GB, free: 8.367 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.PumpConstant): time 0.5178/0.667, allocations: 221.3 MB / 0.9413 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0426/0.7096, allocations: 42.19 MB / 0.9825 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005157/0.7148, allocations: 257.5 kB / 0.9828 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.006895/0.7217, allocations: 2.313 MB / 0.985 GB, free: 1.188 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.02801/0.7497, allocations: 11.88 MB / 0.9966 GB, free: 5.281 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.01148/0.7612, allocations: 4.828 MB / 1.001 GB, free: 444 kB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.009254/0.7704, allocations: 6.599 MB / 1.008 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001597/0.772, allocations: 0.5996 MB / 1.008 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02926/0.8013, allocations: 21.97 MB / 1.03 GB, free: 2.848 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003832/0.8051, allocations: 1.939 MB / 1.032 GB, free: 0.8984 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.001207/0.8063, allocations: 280 kB / 1.032 GB, free: 0.625 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02515/0.8315, allocations: 13.35 MB / 1.045 GB, free: 3.258 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.001401/0.8329, allocations: 0.723 MB / 1.046 GB, free: 2.531 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.003513/0.8364, allocations: 1.718 MB / 1.047 GB, free: 0.8047 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.03057/0.867, allocations: 13.85 MB / 1.061 GB, free: 2.918 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.038e-05/0.867, allocations: 4 kB / 1.061 GB, free: 2.914 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.655e-06/0.867, allocations: 0 / 1.061 GB, free: 2.914 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001771/0.8672, allocations: 0 / 1.061 GB, free: 2.914 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.01243/0.8796, allocations: 6.422 MB / 1.067 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.8796, allocations: 12.03 kB / 1.067 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003827/0.88, allocations: 434.5 kB / 1.068 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003828/0.8839, allocations: 1.06 MB / 1.069 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004548/0.8884, allocations: 2.614 MB / 1.071 GB, free: 8.207 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004629/0.8889, allocations: 0.8702 MB / 1.072 GB, free: 7.188 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003775/0.8892, allocations: 327.9 kB / 1.072 GB, free: 6.867 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005666/0.8949, allocations: 3.946 MB / 1.076 GB, free: 2.688 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.361e-05/0.8949, allocations: 6.125 kB / 1.076 GB, free: 2.684 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001722/0.8951, allocations: 132 kB / 1.076 GB, free: 2.555 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.064e-05/0.8952, allocations: 80 kB / 1.076 GB, free: 2.477 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004779/0.8999, allocations: 2.744 MB / 1.079 GB, free: 15.73 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.01397/0.9139, allocations: 10.76 MB / 1.09 GB, free: 4.633 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005279/0.9192, allocations: 2.268 MB / 1.092 GB, free: 2.34 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001206/0.9204, allocations: 0.7225 MB / 1.093 GB, free: 1.609 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06279/0.9832, allocations: 35.06 MB / 1.127 GB, free: 14.51 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.682e-05/0.9832, allocations: 52.22 kB / 1.127 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=186): time 3.867e-06/0.9832, allocations: 0 / 1.127 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of matching and sorting (n=225): time 0.4445/1.428, allocations: 62.45 MB / 1.188 GB, free: 325.6 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/1.428, allocations: 132.3 kB / 1.188 GB, free: 325.5 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003012/1.431, allocations: 2.962 MB / 1.191 GB, free: 324.4 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001181/1.431, allocations: 70.95 kB / 1.191 GB, free: 324.4 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007751/1.432, allocations: 1.721 MB / 1.193 GB, free: 323.1 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003366/1.432, allocations: 0.7982 MB / 1.193 GB, free: 322.6 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004402/1.433, allocations: 440.3 kB / 1.194 GB, free: 322.4 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 3.337e-05/1.433, allocations: 302.2 kB / 1.194 GB, free: 322.1 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001087/1.434, allocations: 0.6989 MB / 1.195 GB, free: 321.8 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001256/1.435, allocations: 1.138 MB / 1.196 GB, free: 321.1 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002491/1.437, allocations: 1.966 MB / 1.198 GB, free: 319.9 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/1.437, allocations: 4.312 kB / 1.198 GB, free: 319.9 MB / 0.9011 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.003784/1.441, allocations: 2.541 MB / 1.2 GB, free: 318.9 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/1.441, allocations: 10.31 kB / 1.2 GB, free: 318.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/1.441, allocations: 13 kB / 1.2 GB, free: 318.9 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008377/1.442, allocations: 238.2 kB / 1.201 GB, free: 318.8 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/1.443, allocations: 0.5492 MB / 1.201 GB, free: 318.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001113/1.444, allocations: 2.494 MB / 1.204 GB, free: 316.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/1.445, allocations: 90.09 kB / 1.204 GB, free: 316.4 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/1.445, allocations: 114.1 kB / 1.204 GB, free: 316.3 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.0008039/1.446, allocations: 0.533 MB / 1.204 GB, free: 316 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003386/1.447, allocations: 416.4 kB / 1.205 GB, free: 315.7 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006264/1.453, allocations: 9.329 MB / 1.214 GB, free: 311.9 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.643e-05/1.453, allocations: 84.17 kB / 1.214 GB, free: 311.9 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/1.453, allocations: 0 / 1.214 GB, free: 311.9 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-05/1.453, allocations: 14.48 kB / 1.214 GB, free: 311.9 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008602/1.461, allocations: 12.3 MB / 1.226 GB, free: 306.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/1.462, allocations: 3.781 kB / 1.226 GB, free: 306.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008863/1.462, allocations: 434 kB / 1.226 GB, free: 306.4 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007888/1.463, allocations: 376.1 kB / 1.227 GB, free: 306.3 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.362e-05/1.463, allocations: 54.05 kB / 1.227 GB, free: 306.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008975/1.464, allocations: 2.67 MB / 1.229 GB, free: 303.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/1.464, allocations: 7.375 kB / 1.229 GB, free: 303.8 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004991/1.469, allocations: 6.263 MB / 1.235 GB, free: 300.8 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007997/1.47, allocations: 0.6619 MB / 1.236 GB, free: 300.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002781/1.47, allocations: 135.4 kB / 1.236 GB, free: 300.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008561/1.471, allocations: 103.7 kB / 1.236 GB, free: 300.3 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001725/1.471, allocations: 171.5 kB / 1.236 GB, free: 300.2 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.367e-05/1.471, allocations: 76.75 kB / 1.237 GB, free: 300.2 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.002102/1.473, allocations: 2.816 MB / 1.239 GB, free: 299.2 MB / 0.9011 GB Notification: Performance of sort global known variables: time 9e-08/1.473, allocations: 3.969 kB / 1.239 GB, free: 299.2 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.01345/1.487, allocations: 4.89 MB / 1.244 GB, free: 298.9 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.02693/1.514, allocations: 10.59 MB / 1.254 GB, free: 289.7 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.003829/1.518, allocations: 2.643 MB / 1.257 GB, free: 287.3 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 7.665e-06/1.518, allocations: 0 / 1.257 GB, free: 287.3 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0016/1.519, allocations: 1.712 MB / 1.259 GB, free: 285.8 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004973/1.524, allocations: 1.855 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.03609/1.56, allocations: 29.54 MB / 1.289 GB, free: 256.1 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001039/1.561, allocations: 2.043 MB / 1.291 GB, free: 254.1 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.002223/1.564, allocations: 1.312 MB / 1.293 GB, free: 252.8 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001294/1.565, allocations: 2.268 MB / 1.295 GB, free: 250.5 MB / 0.9011 GB Notification: Performance of SimCode: time 1.743e-06/1.565, allocations: 3.969 kB / 1.295 GB, free: 250.5 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6307/2.196, allocations: 288.2 MB / 1.576 GB, free: 306.4 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.63/24.83, allocations: 6.312 kB / 1.576 GB, free: 306.4 MB / 0.9011 GB " [Timeout remaining time 635] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.PumpConstant_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_PumpConstant_fmu --startTime=0 --stopTime=1 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 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: 27.92359415255487] Failed to read output from testmodel.py, exit status != 0: 25.069737601093948 25.077994452 24.209041545 Calling exit ...