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.001278/0.001278, 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.0009788/0.0009788, 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.9903/0.9903, allocations: 177.1 MB / 202.9 MB, free: 5.691 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.6484/0.6484, allocations: 116 MB / 375.4 MB, free: 4.133 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.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 1.663e-06/1.663e-06, allocations: 0 / 0.5537 GB, free: 13.05 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.583e-05/2.749e-05, allocations: 8.844 kB / 0.5537 GB, free: 13.04 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Prescribed1and3Flow): time 0.6041/0.6042, allocations: 360.9 MB / 0.9061 GB, free: 4.121 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.5316/1.136, allocations: 76.36 MB / 0.9806 GB, free: 15.97 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01748/1.153, allocations: 0.7279 MB / 0.9813 GB, free: 15.97 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0157/1.169, allocations: 4.43 MB / 0.9857 GB, free: 15.89 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.04043/1.209, allocations: 14.4 MB / 0.9997 GB, free: 12.63 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.02189/1.231, allocations: 9.14 MB / 1.009 GB, free: 11.87 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.02972/1.261, allocations: 21.7 MB / 1.03 GB, free: 6.309 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0066/1.268, allocations: 2.209 MB / 1.032 GB, free: 5.754 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03551/1.303, allocations: 12.69 MB / 1.044 GB, free: 4.242 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01554/1.319, allocations: 7.535 MB / 1.052 GB, free: 2.887 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.006383/1.325, allocations: 0.8558 MB / 1.053 GB, free: 2.883 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02431/1.349, allocations: 10.91 MB / 1.063 GB, free: 0.8945 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.005026/1.354, allocations: 2.582 MB / 1.066 GB, free: 0 / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0123/1.367, allocations: 4.195 MB / 1.07 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.04401/1.411, allocations: 20.94 MB / 1.09 GB, free: 1.109 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/1.411, allocations: 4 kB / 1.09 GB, free: 1.105 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.245e-06/1.411, allocations: 0 / 1.09 GB, free: 1.105 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0005968/1.411, allocations: 0 / 1.09 GB, free: 1.105 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: 2751 * Number of variables: 2751 Notification: Performance of Generate backend data structure: time 0.02648/1.438, allocations: 14.71 MB / 1.105 GB, free: 2.688 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/1.438, allocations: 8.031 kB / 1.105 GB, free: 2.68 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0025/1.44, allocations: 1.411 MB / 1.106 GB, free: 1.258 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004073/1.444, allocations: 1.643 MB / 1.108 GB, free: 15.6 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01379/1.458, allocations: 7.794 MB / 1.115 GB, free: 8.219 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002692/1.461, allocations: 5.729 MB / 1.121 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002652/1.463, allocations: 1.066 MB / 1.122 GB, free: 284 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0216/1.485, allocations: 11.09 MB / 1.133 GB, free: 5.035 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001647/1.485, allocations: 9.812 kB / 1.133 GB, free: 5.031 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001055/1.486, allocations: 436 kB / 1.133 GB, free: 4.605 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001295/1.486, allocations: 260 kB / 1.133 GB, free: 4.352 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01913/1.506, allocations: 11.28 MB / 1.144 GB, free: 9.082 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04665/1.552, allocations: 24.34 MB / 1.168 GB, free: 1.23 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.09046/1.643, allocations: 53.35 MB / 1.22 GB, free: 10.73 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01134/1.654, allocations: 5.714 MB / 1.226 GB, free: 4.984 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0513/1.705, allocations: 17.24 MB / 1.243 GB, free: 4.176 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01152/1.717, allocations: 5.621 MB / 1.248 GB, free: 14.49 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=1577): time 1.588e-05/1.717, allocations: 0 / 1.248 GB, free: 14.49 MB / 0.9792 GB Notification: Performance of matching and sorting (n=1577): time 0.03504/1.752, allocations: 15.44 MB / 1.263 GB, free: 14.98 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001535/1.752, allocations: 219.8 kB / 1.264 GB, free: 14.75 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00682/1.759, allocations: 5.906 MB / 1.269 GB, free: 8.887 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.002117/1.761, allocations: 277.7 kB / 1.27 GB, free: 8.609 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002864/1.764, allocations: 4.467 MB / 1.274 GB, free: 4.129 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.005468/1.769, allocations: 5.394 MB / 1.279 GB, free: 14.81 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003597/1.773, allocations: 2.088 MB / 1.281 GB, free: 12.71 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.51e-05/1.773, allocations: 305.1 kB / 1.282 GB, free: 12.41 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006272/1.779, allocations: 3.865 MB / 1.285 GB, free: 8.508 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008964/1.788, allocations: 5.532 MB / 1.291 GB, free: 2.52 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01872/1.807, allocations: 9.842 MB / 1.3 GB, free: 8.262 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001083/1.807, allocations: 8 kB / 1.3 GB, free: 8.254 MB / 1.026 GB Notification: Performance of matching and sorting (n=1731) (initialization): time 0.5502/2.357, allocations: 12.38 MB / 1.312 GB, free: 0.5164 GB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 9.019e-05/2.357, allocations: 158.6 kB / 1.313 GB, free: 0.5163 GB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.552e-05/2.357, allocations: 29.09 kB / 1.313 GB, free: 0.5163 GB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007666/2.358, allocations: 460.6 kB / 1.313 GB, free: 0.5162 GB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01865/2.377, allocations: 6.003 MB / 1.319 GB, free: 0.5162 GB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006862/2.384, allocations: 13.25 MB / 1.332 GB, free: 0.5051 GB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00647/2.39, allocations: 1.068 MB / 1.333 GB, free: 0.5051 GB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002314/2.392, allocations: 0.5043 MB / 1.333 GB, free: 0.5051 GB / 1.026 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.004957/2.397, allocations: 1.53 MB / 1.335 GB, free: 0.5044 GB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002885/2.4, allocations: 1.243 MB / 1.336 GB, free: 0.5044 GB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02893/2.429, allocations: 13.14 MB / 1.349 GB, free: 0.4993 GB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-05/2.429, allocations: 151.2 kB / 1.349 GB, free: 0.4993 GB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.547e-05/2.429, allocations: 3.656 kB / 1.349 GB, free: 0.4993 GB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003173/2.43, allocations: 84.97 kB / 1.349 GB, free: 0.4993 GB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04342/2.473, allocations: 21.51 MB / 1.37 GB, free: 0.4908 GB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-05/2.473, allocations: 3.406 kB / 1.37 GB, free: 0.4908 GB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01729/2.49, allocations: 5.798 MB / 1.376 GB, free: 498.8 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008669/2.491, allocations: 417.7 kB / 1.376 GB, free: 498.4 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001872/2.493, allocations: 373.8 kB / 1.377 GB, free: 498.1 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004886/2.498, allocations: 13.08 MB / 1.389 GB, free: 484.4 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/2.498, allocations: 3.859 kB / 1.389 GB, free: 484.4 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02674/2.525, allocations: 17.33 MB / 1.406 GB, free: 468.4 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005311/2.53, allocations: 2.155 MB / 1.408 GB, free: 466.8 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001576/2.532, allocations: 270 kB / 1.409 GB, free: 466.6 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003926/2.536, allocations: 321 kB / 1.409 GB, free: 466.3 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001122/2.537, allocations: 0.992 MB / 1.41 GB, free: 465.4 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006845/2.537, allocations: 459.8 kB / 1.41 GB, free: 464.9 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.003389/2.541, allocations: 3.708 MB / 1.414 GB, free: 461.2 MB / 1.026 GB Notification: Performance of sort global known variables: time 4e-08/2.541, allocations: 0 / 1.414 GB, free: 461.2 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.01137/2.552, allocations: 4.125 MB / 1.418 GB, free: 457.4 MB / 1.026 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.02714/2.579, allocations: 21.14 MB / 1.439 GB, free: 436.9 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.01854/2.598, allocations: 11.42 MB / 1.45 GB, free: 425.2 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/2.598, allocations: 0 / 1.45 GB, free: 425.2 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.008104/2.606, allocations: 6.374 MB / 1.456 GB, free: 418.8 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01309/2.619, allocations: 5.046 MB / 1.461 GB, free: 414.1 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1108/2.73, allocations: 77.94 MB / 1.537 GB, free: 334.2 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002699/2.733, allocations: 4.751 MB / 1.542 GB, free: 329.6 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.008735/2.741, allocations: 2.321 MB / 1.544 GB, free: 327.9 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006609/2.748, allocations: 5.819 MB / 1.55 GB, free: 322.1 MB / 1.026 GB Notification: Performance of SimCode: time 2.294e-06/2.748, allocations: 3.688 kB / 1.55 GB, free: 322.1 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3158/3.064, allocations: 316.1 MB / 1.858 GB, free: 7.309 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.5/27.57, allocations: 7.938 kB / 1.858 GB, free: 7.301 MB / 1.026 GB " [Timeout remaining time 632] (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: 31.156431134790182] Failed to read output from testmodel.py, exit status != 0: 27.822070193476975 28.100724259 26.687881104 Calling exit ...