Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Prescribed1and3Cycle.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.0007562/0.0007562, allocations: 68.47 kB / 19.17 MB, free: 0.7344 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.0007946/0.0007946, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.8468/0.8468, allocations: 177.1 MB / 202.8 MB, free: 5.723 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.5989/0.5989, allocations: 116 MB / 375.2 MB, free: 4.168 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.PolytropicPerfectGas.Prescribed1and3Cycle,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_PolytropicPerfectGas_Prescribed1and3Cycle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Prescribed1and3Cycle,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_PolytropicPerfectGas_Prescribed1and3Cycle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.5534 GB, free: 13.16 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.948e-05/2.096e-05, allocations: 6.078 kB / 0.5534 GB, free: 13.15 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Prescribed1and3Cycle): time 0.4844/0.4844, allocations: 340 MB / 0.8855 GB, free: 9.105 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.41/0.8944, allocations: 69.88 MB / 0.9537 GB, free: 15.99 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00969/0.9041, allocations: 0.6675 MB / 0.9544 GB, free: 15.99 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.01139/0.9155, allocations: 4.052 MB / 0.9583 GB, free: 15.99 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.02821/0.9437, allocations: 13.18 MB / 0.9712 GB, free: 13.52 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.01644/0.9601, allocations: 8.374 MB / 0.9794 GB, free: 12.88 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0273/0.9874, allocations: 19.86 MB / 0.9988 GB, free: 7.797 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00483/0.9923, allocations: 1.971 MB / 1.001 GB, free: 7.324 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02732/1.02, allocations: 11.61 MB / 1.012 GB, free: 5.961 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01209/1.032, allocations: 6.895 MB / 1.019 GB, free: 5.172 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.003498/1.035, allocations: 0.7802 MB / 1.02 GB, free: 5.172 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01929/1.054, allocations: 9.986 MB / 1.029 GB, free: 4.438 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.003886/1.058, allocations: 2.289 MB / 1.032 GB, free: 3.789 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.00945/1.068, allocations: 3.845 MB / 1.035 GB, free: 3.148 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.03536/1.103, allocations: 19.37 MB / 1.054 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/1.103, allocations: 1.406 kB / 1.054 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.673e-06/1.103, allocations: 0 / 1.054 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0006862/1.104, allocations: 0 / 1.054 GB, free: 14.53 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2520 * Number of variables: 2520 Notification: Performance of Generate backend data structure: time 0.02446/1.128, allocations: 13.5 MB / 1.067 GB, free: 7.266 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/1.128, allocations: 11.31 kB / 1.067 GB, free: 7.262 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00192/1.13, allocations: 1.298 MB / 1.069 GB, free: 6.93 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003059/1.133, allocations: 1.506 MB / 1.07 GB, free: 5.855 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01176/1.145, allocations: 6.566 MB / 1.077 GB, free: 0.6328 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002512/1.148, allocations: 5.124 MB / 1.082 GB, free: 10.83 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002505/1.15, allocations: 0.972 MB / 1.082 GB, free: 10.18 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01889/1.169, allocations: 10.17 MB / 1.092 GB, free: 2.281 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001327/1.169, allocations: 2.344 kB / 1.092 GB, free: 2.281 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007891/1.17, allocations: 400 kB / 1.093 GB, free: 1.891 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001252/1.17, allocations: 236 kB / 1.093 GB, free: 1.66 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01659/1.187, allocations: 10.34 MB / 1.103 GB, free: 7.344 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04027/1.227, allocations: 22.09 MB / 1.125 GB, free: 1.723 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.08165/1.309, allocations: 45.28 MB / 1.169 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009513/1.318, allocations: 5.231 MB / 1.174 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03389/1.352, allocations: 15.69 MB / 1.189 GB, free: 14.94 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008283/1.36, allocations: 5.169 MB / 1.194 GB, free: 9.75 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=1447): time 1.549e-05/1.36, allocations: 0 / 1.194 GB, free: 9.75 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1447): time 0.02324/1.384, allocations: 14.46 MB / 1.209 GB, free: 11.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/1.384, allocations: 202.7 kB / 1.209 GB, free: 11.09 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006435/1.39, allocations: 5.406 MB / 1.214 GB, free: 5.707 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.00179/1.392, allocations: 265.7 kB / 1.214 GB, free: 5.441 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002897/1.395, allocations: 4.088 MB / 1.218 GB, free: 1.344 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00484/1.4, allocations: 4.941 MB / 1.223 GB, free: 12.47 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002095/1.402, allocations: 1.92 MB / 1.225 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.767e-05/1.402, allocations: 301.1 kB / 1.225 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00628/1.408, allocations: 3.558 MB / 1.229 GB, free: 6.641 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008185/1.416, allocations: 5.096 MB / 1.234 GB, free: 1.121 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01446/1.431, allocations: 9.031 MB / 1.242 GB, free: 7.766 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.709e-05/1.431, allocations: 8 kB / 1.243 GB, free: 7.758 MB / 0.9792 GB Notification: Performance of matching and sorting (n=1589) (initialization): time 0.02029/1.451, allocations: 11.51 MB / 1.254 GB, free: 12.34 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001044/1.451, allocations: 160.5 kB / 1.254 GB, free: 12.15 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.403e-05/1.451, allocations: 28 kB / 1.254 GB, free: 12.12 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/1.452, allocations: 0.5207 MB / 1.254 GB, free: 11.57 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01602/1.468, allocations: 5.397 MB / 1.26 GB, free: 6.332 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009573/1.478, allocations: 15.19 MB / 1.275 GB, free: 6.156 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006447/1.484, allocations: 0.9771 MB / 1.275 GB, free: 5.172 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001951/1.486, allocations: 475.8 kB / 1.276 GB, free: 4.707 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 132 * 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 (1537): * Single equations (assignments): 1522 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * 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): 4 systems {(1,11), (1,10), (1,10), (1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.004757/1.491, allocations: 1.419 MB / 1.277 GB, free: 3.43 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002803/1.494, allocations: 1.137 MB / 1.278 GB, free: 2.285 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02019/1.514, allocations: 12.17 MB / 1.29 GB, free: 6.348 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.802e-05/1.514, allocations: 136 kB / 1.29 GB, free: 6.215 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.702e-05/1.514, allocations: 4.094 kB / 1.29 GB, free: 6.211 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001323/1.514, allocations: 75.66 kB / 1.291 GB, free: 6.137 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03761/1.552, allocations: 19.86 MB / 1.31 GB, free: 2.527 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.201e-05/1.552, allocations: 0 / 1.31 GB, free: 2.527 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.3049/1.857, allocations: 5.208 MB / 1.315 GB, free: 453.5 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009756/1.858, allocations: 495.2 kB / 1.315 GB, free: 453.4 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001875/1.86, allocations: 344.6 kB / 1.316 GB, free: 453.4 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006655/1.866, allocations: 15.04 MB / 1.33 GB, free: 440.8 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.866, allocations: 0.5625 kB / 1.33 GB, free: 440.8 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02972/1.896, allocations: 16.01 MB / 1.346 GB, free: 440.1 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005335/1.901, allocations: 1.977 MB / 1.348 GB, free: 439.8 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002098/1.903, allocations: 245.2 kB / 1.348 GB, free: 439.8 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00417/1.908, allocations: 300.6 kB / 1.349 GB, free: 439.8 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001363/1.909, allocations: 0.909 MB / 1.349 GB, free: 439.8 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007126/1.91, allocations: 426.9 kB / 1.35 GB, free: 439.8 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.003706/1.913, allocations: 3.409 MB / 1.353 GB, free: 439.5 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.6e-07/1.913, allocations: 0.5938 kB / 1.353 GB, free: 439.5 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.01004/1.923, allocations: 3.794 MB / 1.357 GB, free: 439.3 MB / 1.042 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 (1433): * Single equations (assignments): 1413 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * 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): 4 systems {(1,10), (1,10), (1,10), (1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.03115/1.955, allocations: 19.55 MB / 1.376 GB, free: 431.5 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0176/1.972, allocations: 10.78 MB / 1.387 GB, free: 427.2 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.972, allocations: 3 kB / 1.387 GB, free: 427.2 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0109/1.983, allocations: 6.096 MB / 1.392 GB, free: 424.7 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0162/1.999, allocations: 4.616 MB / 1.397 GB, free: 423.2 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.109/2.108, allocations: 71.48 MB / 1.467 GB, free: 362.2 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003147/2.111, allocations: 4.362 MB / 1.471 GB, free: 357.8 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.008937/2.12, allocations: 2.114 MB / 1.473 GB, free: 356.1 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00553/2.126, allocations: 5.257 MB / 1.478 GB, free: 350.8 MB / 1.042 GB Notification: Performance of SimCode: time 1.393e-06/2.126, allocations: 0 / 1.478 GB, free: 350.8 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2667/2.392, allocations: 291 MB / 1.762 GB, free: 61.34 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.22/25.61, allocations: 9.062 kB / 1.762 GB, free: 61.33 MB / 1.042 GB " [Timeout remaining time 634] (rm -f ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Prescribed1and3Cycle.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Prescribed1and3Cycle.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Prescribed1and3Cycle.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Prescribed1and3Cycle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Prescribed1and3Cycle_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_PolytropicPerfectGas_Prescribed1and3Cycle_fmu --startTime=0 --stopTime=1.5 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_PolytropicPerfectGas_Prescribed1and3Cycle.fmu > ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Prescribed1and3Cycle.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 28.468000642955303] Failed to read output from testmodel.py, exit status != 0: 25.85110517963767 25.857581334 24.752561197 Calling exit ...