Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Prescribed1and3Flow.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.0008154/0.0008154, allocations: 105.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.001083/0.001083, allocations: 217.2 kB / 22.25 MB, free: 3.582 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 1.005/1.005, allocations: 230.6 MB / 256 MB, free: 9.605 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.7306/0.7306, allocations: 150.8 MB / 463.2 MB, free: 6.445 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.PolytropicPerfectGas.Prescribed1and3Flow,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_PolytropicPerfectGas_Prescribed1and3Flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Prescribed1and3Flow,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_PolytropicPerfectGas_Prescribed1and3Flow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 84 kB / 0.6393 GB, free: 32.45 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1611, allocations: 88.07 MB / 0.7253 GB, free: 8.203 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Prescribed1and3Flow): time 0.695/0.856, allocations: 363.2 MB / 1.08 GB, free: 12.33 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.07463/0.9307, allocations: 76.32 MB / 1.155 GB, free: 15.78 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0134/0.9441, allocations: 0.7272 MB / 1.155 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.01338/0.9575, allocations: 4.362 MB / 1.16 GB, free: 10.65 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.603/1.56, allocations: 13.93 MB / 1.173 GB, free: 11.84 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.02264/1.583, allocations: 9.013 MB / 1.182 GB, free: 11.83 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.03518/1.618, allocations: 20.98 MB / 1.202 GB, free: 11.8 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006028/1.624, allocations: 2.2 MB / 1.205 GB, free: 27.25 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02167/1.646, allocations: 9.763 MB / 1.214 GB, free: 26.87 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01866/1.665, allocations: 8.543 MB / 1.222 GB, free: 25.21 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.004414/1.669, allocations: 0.8525 MB / 1.223 GB, free: 25.21 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02308/1.692, allocations: 10.79 MB / 1.234 GB, free: 25.2 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0042/1.696, allocations: 2.463 MB / 1.236 GB, free: 24.65 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.01088/1.707, allocations: 5.212 MB / 1.241 GB, free: 23.03 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.04277/1.75, allocations: 21.27 MB / 1.262 GB, free: 19.71 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/1.75, allocations: 0 / 1.262 GB, free: 19.71 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.984e-06/1.75, allocations: 0.8125 kB / 1.262 GB, free: 19.71 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.000678/1.751, allocations: 0 / 1.262 GB, free: 19.71 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2751 * Number of variables: 2751 Notification: Performance of Generate backend data structure: time 0.02516/1.776, allocations: 14.88 MB / 1.277 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/1.776, allocations: 8.531 kB / 1.277 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001147/1.777, allocations: 1.413 MB / 1.278 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002325/1.779, allocations: 1.64 MB / 1.28 GB, free: 12.49 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01159/1.791, allocations: 7.17 MB / 1.287 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002499/1.793, allocations: 5.719 MB / 1.292 GB, free: 4.621 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001062/1.794, allocations: 1.056 MB / 1.293 GB, free: 4.605 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0147/1.809, allocations: 11.1 MB / 1.304 GB, free: 3.891 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001471/1.809, allocations: 9.641 kB / 1.304 GB, free: 3.887 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005411/1.81, allocations: 432.5 kB / 1.305 GB, free: 3.887 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001529/1.81, allocations: 258.6 kB / 1.305 GB, free: 3.887 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01304/1.823, allocations: 11.28 MB / 1.316 GB, free: 14.51 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03137/1.854, allocations: 24.18 MB / 1.339 GB, free: 13.75 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.08836/1.943, allocations: 53.36 MB / 1.391 GB, free: 8.301 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01077/1.954, allocations: 5.714 MB / 1.397 GB, free: 2.555 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03244/1.986, allocations: 17.11 MB / 1.414 GB, free: 1.867 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007109/1.993, allocations: 5.619 MB / 1.419 GB, free: 12.19 MB / 1.026 GB Notification: Performance of pre-optimization done (n=1577): time 1.649e-05/1.993, allocations: 0 / 1.419 GB, free: 12.19 MB / 1.026 GB Notification: Performance of matching and sorting (n=1577): time 0.02173/2.015, allocations: 15.44 MB / 1.434 GB, free: 12.67 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/2.015, allocations: 219.7 kB / 1.435 GB, free: 12.44 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006355/2.021, allocations: 5.898 MB / 1.44 GB, free: 6.586 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0006017/2.022, allocations: 281.7 kB / 1.441 GB, free: 6.305 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.00303/2.025, allocations: 4.474 MB / 1.445 GB, free: 1.816 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.00387/2.029, allocations: 5.471 MB / 1.45 GB, free: 12.42 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002066/2.031, allocations: 2.091 MB / 1.452 GB, free: 10.32 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 8.204e-05/2.031, allocations: 309.1 kB / 1.453 GB, free: 10.01 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006016/2.037, allocations: 3.853 MB / 1.456 GB, free: 6.121 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006558/2.044, allocations: 5.541 MB / 1.462 GB, free: 128 kB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01256/2.056, allocations: 9.837 MB / 1.471 GB, free: 5.871 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.676e-05/2.056, allocations: 8 kB / 1.471 GB, free: 5.863 MB / 1.073 GB Notification: Performance of matching and sorting (n=1731) (initialization): time 0.01713/2.073, allocations: 12.39 MB / 1.484 GB, free: 9.504 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.000103/2.073, allocations: 161 kB / 1.484 GB, free: 9.32 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.598e-05/2.073, allocations: 32 kB / 1.484 GB, free: 9.289 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008034/2.074, allocations: 467.2 kB / 1.484 GB, free: 8.809 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01747/2.092, allocations: 6.001 MB / 1.49 GB, free: 2.973 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009432/2.101, allocations: 13.25 MB / 1.503 GB, free: 4.844 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0111/2.112, allocations: 1.066 MB / 1.504 GB, free: 3.77 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001806/2.114, allocations: 0.5037 MB / 1.504 GB, free: 3.266 MB / 1.104 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 144 * Number of states: 0 () * Number of discrete variables: 25 (massFlowRate1.count,$PRE.massFlowRate1.count,massFlowRate1.T_start,$PRE.massFlowRate1.T_start,isentropicEfficiency.count,$PRE.isentropicEfficiency.count,isentropicEfficiency.T_start,$PRE.isentropicEfficiency.T_start,pressureRatio.count,$PRE.pressureRatio.count,pressureRatio.T_start,$PRE.pressureRatio.T_start,inletTemperature.count,$PRE.inletTemperature.count,inletTemperature.T_start,$PRE.inletTemperature.T_start,inletPressure.count,$PRE.inletPressure.count,inletPressure.T_start,$PRE.inletPressure.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1690): * Single equations (assignments): 1676 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,10), (1,10), (1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.004634/2.119, allocations: 1.527 MB / 1.506 GB, free: 1.895 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002872/2.122, allocations: 1.254 MB / 1.507 GB, free: 0.6328 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01797/2.14, allocations: 13.14 MB / 1.52 GB, free: 3.684 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-05/2.14, allocations: 155.2 kB / 1.52 GB, free: 3.535 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.195e-05/2.14, allocations: 0 / 1.52 GB, free: 3.535 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-05/2.14, allocations: 75.7 kB / 1.52 GB, free: 3.461 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03148/2.171, allocations: 21.5 MB / 1.541 GB, free: 14.17 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.959e-05/2.171, allocations: 3.938 kB / 1.541 GB, free: 14.16 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01613/2.187, allocations: 5.803 MB / 1.547 GB, free: 8.508 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008181/2.188, allocations: 418.6 kB / 1.547 GB, free: 8.074 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001092/2.189, allocations: 367.8 kB / 1.548 GB, free: 7.715 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007124/2.196, allocations: 13.11 MB / 1.56 GB, free: 9.695 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/2.196, allocations: 4 kB / 1.56 GB, free: 9.691 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02502/2.221, allocations: 17.31 MB / 1.577 GB, free: 8.242 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004928/2.226, allocations: 2.15 MB / 1.579 GB, free: 6.082 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001211/2.228, allocations: 268 kB / 1.58 GB, free: 5.82 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00285/2.23, allocations: 323.9 kB / 1.58 GB, free: 5.504 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001042/2.231, allocations: 0.983 MB / 1.581 GB, free: 4.516 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007012/2.232, allocations: 459.8 kB / 1.581 GB, free: 4.066 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.004598/2.237, allocations: 3.712 MB / 1.585 GB, free: 404 kB / 1.182 GB Notification: Performance of sort global known variables: time 3.01e-07/2.237, allocations: 0 / 1.585 GB, free: 404 kB / 1.182 GB Notification: Performance of remove unused functions: time 0.6294/2.866, allocations: 4.118 MB / 1.589 GB, free: 288 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (massFlowRate.y) * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,inletPressure.T_start,inletPressure.count,inletTemperature.T_start,inletTemperature.count,pressureRatio.T_start,pressureRatio.count,isentropicEfficiency.T_start,isentropicEfficiency.count,massFlowRate1.T_start,massFlowRate1.count) * Number of discrete states: 5 (massFlowRate1.count,isentropicEfficiency.count,pressureRatio.count,inletTemperature.count,inletPressure.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1577): * Single equations (assignments): 1558 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,10), (1,10), (1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.03392/2.9, allocations: 21.07 MB / 1.61 GB, free: 286.4 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.02136/2.921, allocations: 11.43 MB / 1.621 GB, free: 284.6 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/2.921, allocations: 0 / 1.621 GB, free: 284.6 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.009413/2.931, allocations: 6.38 MB / 1.627 GB, free: 283.6 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01717/2.948, allocations: 5.048 MB / 1.632 GB, free: 282.8 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1223/3.07, allocations: 77.38 MB / 1.708 GB, free: 259.4 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004193/3.074, allocations: 4.742 MB / 1.712 GB, free: 256 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.01065/3.085, allocations: 2.329 MB / 1.714 GB, free: 254.5 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006503/3.092, allocations: 5.817 MB / 1.72 GB, free: 253.6 MB / 1.182 GB Notification: Performance of SimCode: time 1.553e-06/3.092, allocations: 0 / 1.72 GB, free: 253.6 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7369/3.828, allocations: 315.9 MB / 2.029 GB, free: 0.583 GB / 1.229 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.33/27.16, allocations: 9.875 kB / 2.029 GB, free: 0.583 GB / 1.229 GB " [Timeout remaining time 633] (rm -f ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Prescribed1and3Flow.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Prescribed1and3Flow.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Prescribed1and3Flow.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Prescribed1and3Flow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Prescribed1and3Flow_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_PolytropicPerfectGas_Prescribed1and3Flow_fmu --startTime=0 --stopTime=1.5 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_PolytropicPerfectGas_Prescribed1and3Flow.fmu > ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Prescribed1and3Flow.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 30.670124044641852] Failed to read output from testmodel.py, exit status != 0: 27.412241290323436 27.420571972 25.668586989 Calling exit ...