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.001173/0.001173, allocations: 81.69 kB / 19.27 MB, free: 0.582 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.001245/0.001245, allocations: 166 kB / 22.58 MB, free: 1.922 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.8662/0.8662, allocations: 177.1 MB / 202.9 MB, free: 5.688 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.6172/0.6172, allocations: 116 MB / 375.4 MB, free: 4.141 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.502e-06/1.502e-06, allocations: 0 / 0.5535 GB, free: 13.18 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.958e-05/2.108e-05, allocations: 2.312 kB / 0.5535 GB, free: 13.17 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.PumpConstant): time 0.414/0.414, allocations: 219.2 MB / 0.7676 GB, free: 5.43 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.03818/0.4522, allocations: 42.18 MB / 0.8088 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004103/0.4563, allocations: 253.5 kB / 0.8091 GB, free: 10.87 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.00613/0.4624, allocations: 2.35 MB / 0.8114 GB, free: 8.504 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.02824/0.4907, allocations: 12.14 MB / 0.8232 GB, free: 12.31 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.00999/0.5007, allocations: 4.938 MB / 0.828 GB, free: 7.348 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.00808/0.5088, allocations: 6.854 MB / 0.8347 GB, free: 472 kB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001536/0.5103, allocations: 0.6034 MB / 0.8353 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02853/0.5388, allocations: 23 MB / 0.8578 GB, free: 8.461 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00306/0.5419, allocations: 1.6 MB / 0.8593 GB, free: 6.855 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0009201/0.5428, allocations: 276 kB / 0.8596 GB, free: 6.586 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02299/0.5658, allocations: 13.42 MB / 0.8727 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001117/0.5669, allocations: 0.7423 MB / 0.8734 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.002528/0.5694, allocations: 1.383 MB / 0.8748 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.03168/0.6011, allocations: 15.54 MB / 0.89 GB, free: 7.434 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.6011, allocations: 0 / 0.89 GB, free: 7.434 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.552e-06/0.6011, allocations: 0 / 0.89 GB, free: 7.434 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001696/0.6013, allocations: 0 / 0.89 GB, free: 7.434 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.01368/0.615, allocations: 6.375 MB / 0.8962 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.615, allocations: 8.031 kB / 0.8962 GB, free: 0.9766 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007356/0.6158, allocations: 430.5 kB / 0.8966 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003858/0.6196, allocations: 1.063 MB / 0.8976 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005193/0.6248, allocations: 2.838 MB / 0.9004 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004517/0.6253, allocations: 0.8663 MB / 0.9013 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004739/0.6257, allocations: 331.8 kB / 0.9016 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005748/0.6315, allocations: 3.946 MB / 0.9054 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.17e-05/0.6315, allocations: 3.938 kB / 0.9054 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001699/0.6317, allocations: 132 kB / 0.9056 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.046e-05/0.6317, allocations: 80 kB / 0.9056 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004971/0.6367, allocations: 2.74 MB / 0.9083 GB, free: 4.074 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.01384/0.6505, allocations: 10.89 MB / 0.9189 GB, free: 8.855 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004853/0.6554, allocations: 2.277 MB / 0.9212 GB, free: 6.559 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001222/0.6566, allocations: 0.7145 MB / 0.9219 GB, free: 5.84 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3277/0.9843, allocations: 35.08 MB / 0.9561 GB, free: 299.5 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.583e-05/0.9844, allocations: 63.88 kB / 0.9562 GB, free: 299.5 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=186): time 4.739e-06/0.9844, allocations: 0 / 0.9562 GB, free: 299.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=225): time 0.09186/1.076, allocations: 62.44 MB / 1.017 GB, free: 253.2 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/1.076, allocations: 133.7 kB / 1.017 GB, free: 253 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002058/1.078, allocations: 2.967 MB / 1.02 GB, free: 250.1 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001577/1.078, allocations: 61.7 kB / 1.02 GB, free: 250 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000605/1.079, allocations: 1.73 MB / 1.022 GB, free: 248.4 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003432/1.079, allocations: 0.7776 MB / 1.023 GB, free: 247.7 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003629/1.08, allocations: 436 kB / 1.023 GB, free: 247.3 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 2.708e-05/1.08, allocations: 317 kB / 1.023 GB, free: 246.9 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009591/1.081, allocations: 0.6915 MB / 1.024 GB, free: 246.3 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/1.082, allocations: 1.141 MB / 1.025 GB, free: 244.9 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002164/1.084, allocations: 1.958 MB / 1.027 GB, free: 242.8 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/1.084, allocations: 4 kB / 1.027 GB, free: 242.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.003591/1.088, allocations: 2.551 MB / 1.03 GB, free: 240.2 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.262e-05/1.088, allocations: 11.62 kB / 1.03 GB, free: 240.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/1.088, allocations: 16 kB / 1.03 GB, free: 240.2 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000761/1.088, allocations: 237.9 kB / 1.03 GB, free: 240 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/1.089, allocations: 0.5461 MB / 1.03 GB, free: 239.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/1.091, allocations: 2.474 MB / 1.033 GB, free: 236.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001758/1.092, allocations: 87.94 kB / 1.033 GB, free: 236.7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/1.093, allocations: 108 kB / 1.033 GB, free: 236.6 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.0009585/1.094, allocations: 0.5535 MB / 1.034 GB, free: 236 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00046/1.094, allocations: 425.3 kB / 1.034 GB, free: 235.6 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006342/1.1, allocations: 9.359 MB / 1.043 GB, free: 226.3 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.787e-05/1.1, allocations: 91.88 kB / 1.043 GB, free: 226.3 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/1.1, allocations: 0 / 1.043 GB, free: 226.3 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.639e-05/1.1, allocations: 15.89 kB / 1.043 GB, free: 226.2 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009036/1.109, allocations: 12.31 MB / 1.055 GB, free: 213.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.979e-06/1.109, allocations: 4 kB / 1.055 GB, free: 213.9 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008738/1.11, allocations: 435.4 kB / 1.056 GB, free: 213.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007687/1.111, allocations: 369.7 kB / 1.056 GB, free: 213.1 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.157e-05/1.111, allocations: 63.97 kB / 1.056 GB, free: 213.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009343/1.112, allocations: 2.673 MB / 1.059 GB, free: 210.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/1.112, allocations: 4 kB / 1.059 GB, free: 210.2 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005447/1.118, allocations: 6.263 MB / 1.065 GB, free: 203.8 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001514/1.119, allocations: 0.6702 MB / 1.065 GB, free: 203.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000556/1.12, allocations: 127.1 kB / 1.066 GB, free: 203.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/1.121, allocations: 99.92 kB / 1.066 GB, free: 203 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001929/1.121, allocations: 169.9 kB / 1.066 GB, free: 202.9 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.058e-05/1.121, allocations: 83.91 kB / 1.066 GB, free: 202.8 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.002303/1.123, allocations: 2.815 MB / 1.069 GB, free: 200 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.01e-07/1.123, allocations: 0 / 1.069 GB, free: 200 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.01074/1.134, allocations: 4.893 MB / 1.073 GB, free: 195.3 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.02843/1.162, allocations: 10.99 MB / 1.084 GB, free: 184.5 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.003919/1.166, allocations: 2.643 MB / 1.087 GB, free: 181.9 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/1.166, allocations: 0 / 1.087 GB, free: 181.9 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.00199/1.168, allocations: 1.704 MB / 1.088 GB, free: 180.1 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005185/1.174, allocations: 1.857 MB / 1.09 GB, free: 178.4 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0399/1.213, allocations: 29.65 MB / 1.119 GB, free: 148 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/1.214, allocations: 2.039 MB / 1.121 GB, free: 145.9 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.002011/1.217, allocations: 1.309 MB / 1.122 GB, free: 144.6 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001313/1.218, allocations: 2.269 MB / 1.125 GB, free: 142.4 MB / 0.7761 GB Notification: Performance of SimCode: time 1.613e-06/1.218, allocations: 0 / 1.125 GB, free: 142.4 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6011/1.819, allocations: 288.5 MB / 1.406 GB, free: 108.3 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.55/25.37, allocations: 7.938 kB / 1.406 GB, free: 108.2 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 & /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: 28.155670354142785] Failed to read output from testmodel.py, exit status != 0: 25.612621396780014 25.622686869 25.019892372 Calling exit ...