Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Prescribed2.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.000817/0.000817, allocations: 81.69 kB / 19.27 MB, free: 0.5859 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.001014/0.001014, allocations: 166.3 kB / 22.58 MB, free: 1.926 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.9384/0.9384, allocations: 177.1 MB / 202.9 MB, free: 5.574 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.6871/0.6871, allocations: 116 MB / 375.4 MB, free: 4.113 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.Prescribed2,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_PolytropicPerfectGas_Prescribed2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Prescribed2,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_PolytropicPerfectGas_Prescribed2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 3.938 kB / 0.5537 GB, free: 13.09 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.553e-05/2.744e-05, allocations: 8.078 kB / 0.5537 GB, free: 13.08 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Prescribed2): time 0.5257/0.5257, allocations: 306.5 MB / 0.853 GB, free: 10.73 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.06368/0.5894, allocations: 62.71 MB / 0.9142 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01224/0.6017, allocations: 0.6151 MB / 0.9148 GB, free: 11.2 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.01243/0.6141, allocations: 3.837 MB / 0.9186 GB, free: 7.332 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0295/0.6436, allocations: 11.86 MB / 0.9301 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.01805/0.6616, allocations: 8.018 MB / 0.938 GB, free: 3.355 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.4311/1.093, allocations: 18.62 MB / 0.9561 GB, free: 16.8 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006406/1.099, allocations: 1.845 MB / 0.9579 GB, free: 32.32 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02826/1.127, allocations: 10.96 MB / 0.9686 GB, free: 31.06 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01285/1.14, allocations: 6.527 MB / 0.975 GB, free: 30.31 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.003752/1.144, allocations: 0.7156 MB / 0.9757 GB, free: 30.31 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01866/1.163, allocations: 8.328 MB / 0.9839 GB, free: 29.92 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.003848/1.166, allocations: 2.142 MB / 0.9859 GB, free: 29.3 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.01002/1.177, allocations: 3.594 MB / 0.9895 GB, free: 28.7 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.03172/1.208, allocations: 17.78 MB / 1.007 GB, free: 26.85 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/1.208, allocations: 0 / 1.007 GB, free: 26.85 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.224e-06/1.208, allocations: 4.031 kB / 1.007 GB, free: 26.85 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0005496/1.209, allocations: 0 / 1.007 GB, free: 26.85 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: 2381 * Number of variables: 2381 Notification: Performance of Generate backend data structure: time 0.02488/1.234, allocations: 12.61 MB / 1.019 GB, free: 21.46 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/1.234, allocations: 10.03 kB / 1.019 GB, free: 21.46 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001235/1.235, allocations: 1.239 MB / 1.02 GB, free: 21.36 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002283/1.237, allocations: 1.418 MB / 1.022 GB, free: 20.64 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01218/1.249, allocations: 6.643 MB / 1.028 GB, free: 19 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002838/1.252, allocations: 6.508 MB / 1.035 GB, free: 12.1 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002269/1.255, allocations: 0.881 MB / 1.035 GB, free: 12.1 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0152/1.27, allocations: 9.679 MB / 1.045 GB, free: 11.25 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001294/1.27, allocations: 9.812 kB / 1.045 GB, free: 11.25 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005667/1.27, allocations: 383.8 kB / 1.045 GB, free: 11.25 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001095/1.271, allocations: 235.3 kB / 1.045 GB, free: 11.25 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01307/1.284, allocations: 9.61 MB / 1.055 GB, free: 11.17 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0405/1.324, allocations: 24.31 MB / 1.079 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06992/1.394, allocations: 41.38 MB / 1.119 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009463/1.403, allocations: 4.829 MB / 1.124 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03019/1.434, allocations: 14.18 MB / 1.138 GB, free: 1.137 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007764/1.441, allocations: 4.614 MB / 1.142 GB, free: 12.48 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1279): time 1.278e-05/1.441, allocations: 0 / 1.142 GB, free: 12.48 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1279): time 0.02399/1.465, allocations: 12.9 MB / 1.155 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001321/1.466, allocations: 188.1 kB / 1.155 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006423/1.472, allocations: 5.243 MB / 1.16 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001622/1.474, allocations: 229.7 kB / 1.16 GB, free: 9.887 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002611/1.476, allocations: 4.044 MB / 1.164 GB, free: 5.832 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.004418/1.481, allocations: 4.366 MB / 1.168 GB, free: 1.527 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002065/1.483, allocations: 1.821 MB / 1.17 GB, free: 15.7 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.326e-05/1.483, allocations: 301.1 kB / 1.17 GB, free: 15.4 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005772/1.489, allocations: 3.264 MB / 1.174 GB, free: 12.11 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00754/1.496, allocations: 5.062 MB / 1.179 GB, free: 6.465 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01495/1.511, allocations: 8.67 MB / 1.187 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.863e-05/1.511, allocations: 12 kB / 1.187 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=1479) (initialization): time 0.02575/1.537, allocations: 10.75 MB / 1.198 GB, free: 2.68 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000127/1.537, allocations: 163.5 kB / 1.198 GB, free: 2.492 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-05/1.537, allocations: 44 kB / 1.198 GB, free: 2.449 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008363/1.538, allocations: 466.2 kB / 1.198 GB, free: 1.969 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01859/1.556, allocations: 5.912 MB / 1.204 GB, free: 12.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007966/1.564, allocations: 13.26 MB / 1.217 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006631/1.571, allocations: 0.9771 MB / 1.218 GB, free: 13.09 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001858/1.573, allocations: 470.7 kB / 1.218 GB, free: 12.63 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 190 * 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 (1438): * Single equations (assignments): 1424 * 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.003891/1.577, allocations: 1.347 MB / 1.22 GB, free: 11.43 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002388/1.579, allocations: 1.056 MB / 1.221 GB, free: 10.36 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02096/1.6, allocations: 10.84 MB / 1.231 GB, free: 15.65 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.986e-05/1.6, allocations: 120 kB / 1.231 GB, free: 15.54 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.78e-05/1.6, allocations: 7.984 kB / 1.231 GB, free: 15.53 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003229/1.601, allocations: 63.77 kB / 1.231 GB, free: 15.46 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04219/1.643, allocations: 17.97 MB / 1.249 GB, free: 13.66 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.774e-05/1.643, allocations: 0 / 1.249 GB, free: 13.66 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01834/1.661, allocations: 5.583 MB / 1.254 GB, free: 8.195 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009506/1.662, allocations: 411.7 kB / 1.255 GB, free: 7.77 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00167/1.664, allocations: 283.8 kB / 1.255 GB, free: 7.492 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007377/1.671, allocations: 13.09 MB / 1.268 GB, free: 9.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/1.671, allocations: 0 / 1.268 GB, free: 9.5 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02528/1.696, allocations: 14.35 MB / 1.282 GB, free: 11.05 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004418/1.701, allocations: 1.761 MB / 1.284 GB, free: 9.285 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001473/1.702, allocations: 204 kB / 1.284 GB, free: 9.086 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003971/1.706, allocations: 295.9 kB / 1.284 GB, free: 8.797 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001077/1.707, allocations: 0.7968 MB / 1.285 GB, free: 8 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006745/1.708, allocations: 367.8 kB / 1.285 GB, free: 7.641 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.004821/1.713, allocations: 3.259 MB / 1.288 GB, free: 4.395 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/1.713, allocations: 0 / 1.288 GB, free: 4.395 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.01176/1.725, allocations: 3.385 MB / 1.292 GB, free: 1.004 MB / 1.01 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 (1275): * Single equations (assignments): 1256 * 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.4705/2.195, allocations: 17.17 MB / 1.309 GB, free: 239.8 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.02006/2.215, allocations: 9.88 MB / 1.318 GB, free: 238.1 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/2.215, allocations: 0 / 1.318 GB, free: 238.1 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.009042/2.224, allocations: 5.434 MB / 1.323 GB, free: 237 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01536/2.24, allocations: 4.193 MB / 1.328 GB, free: 236.5 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.123/2.363, allocations: 67.91 MB / 1.394 GB, free: 218.8 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004756/2.367, allocations: 4.046 MB / 1.398 GB, free: 217.1 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.009389/2.377, allocations: 1.911 MB / 1.4 GB, free: 215.8 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006636/2.383, allocations: 4.87 MB / 1.404 GB, free: 215.1 MB / 1.01 GB Notification: Performance of SimCode: time 1.092e-06/2.383, allocations: 0 / 1.404 GB, free: 215.1 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5657/2.949, allocations: 256.3 MB / 1.655 GB, free: 483.8 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.33/24.28, allocations: 12.5 kB / 1.655 GB, free: 483.8 MB / 1.042 GB " [Timeout remaining time 635] (rm -f ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Prescribed2.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Prescribed2.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Prescribed2.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Prescribed2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Prescribed2_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_PolytropicPerfectGas_Prescribed2_fmu --startTime=0 --stopTime=1.5 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_PolytropicPerfectGas_Prescribed2.fmu > ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Prescribed2.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 27.40086559113115] Failed to read output from testmodel.py, exit status != 0: 24.513535149395466 24.527568787 23.316958554 Calling exit ...