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.001122/0.001122, allocations: 77.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.001534/0.001534, allocations: 166 kB / 22.57 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.9428/0.9428, allocations: 177.1 MB / 202.9 MB, free: 5.633 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.6748/0.6748, allocations: 116 MB / 375.4 MB, free: 4.188 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.904e-06/1.904e-06, allocations: 0 / 0.5536 GB, free: 13.09 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.718e-05/2.909e-05, allocations: 4.141 kB / 0.5536 GB, free: 13.09 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Prescribed1and3Cycle): time 0.5481/0.5481, allocations: 340 MB / 0.8857 GB, free: 9.059 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.4991/1.047, allocations: 69.88 MB / 0.954 GB, free: 16 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01233/1.06, allocations: 0.6687 MB / 0.9546 GB, free: 16 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.01192/1.072, allocations: 4.05 MB / 0.9586 GB, free: 16 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.037/1.109, allocations: 13.18 MB / 0.9714 GB, free: 13.53 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.02076/1.129, allocations: 8.366 MB / 0.9796 GB, free: 12.89 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.03401/1.163, allocations: 19.86 MB / 0.999 GB, free: 7.805 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008654/1.172, allocations: 1.97 MB / 1.001 GB, free: 7.332 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0324/1.204, allocations: 11.61 MB / 1.012 GB, free: 5.973 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01381/1.218, allocations: 6.897 MB / 1.019 GB, free: 5.18 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.00427/1.222, allocations: 0.7824 MB / 1.02 GB, free: 5.18 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02314/1.246, allocations: 9.98 MB / 1.03 GB, free: 4.445 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.005086/1.251, allocations: 2.289 MB / 1.032 GB, free: 3.797 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.01391/1.265, allocations: 3.839 MB / 1.035 GB, free: 3.16 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.04075/1.305, allocations: 19.39 MB / 1.054 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 9.327e-06/1.305, allocations: 0 / 1.054 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.594e-06/1.305, allocations: 0 / 1.054 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0007109/1.306, allocations: 0 / 1.054 GB, free: 14.52 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.03016/1.336, allocations: 13.5 MB / 1.068 GB, free: 7.254 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.669e-05/1.336, allocations: 11.62 kB / 1.068 GB, free: 7.254 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003073/1.339, allocations: 1.296 MB / 1.069 GB, free: 6.922 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004841/1.344, allocations: 1.503 MB / 1.07 GB, free: 5.836 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01584/1.36, allocations: 7.149 MB / 1.077 GB, free: 32 kB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002572/1.363, allocations: 5.125 MB / 1.082 GB, free: 10.23 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002948/1.366, allocations: 0.9715 MB / 1.083 GB, free: 9.578 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02202/1.388, allocations: 10.16 MB / 1.093 GB, free: 1.676 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001867/1.388, allocations: 6.25 kB / 1.093 GB, free: 1.672 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001609/1.389, allocations: 396 kB / 1.094 GB, free: 1.285 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001914/1.39, allocations: 244 kB / 1.094 GB, free: 1.047 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01955/1.409, allocations: 10.33 MB / 1.104 GB, free: 6.738 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04597/1.455, allocations: 22.26 MB / 1.126 GB, free: 0.9531 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0752/1.53, allocations: 45.27 MB / 1.17 GB, free: 2.68 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01042/1.541, allocations: 5.233 MB / 1.175 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04527/1.586, allocations: 15.79 MB / 1.19 GB, free: 14.01 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006947/1.593, allocations: 5.165 MB / 1.195 GB, free: 8.82 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=1447): time 1.498e-05/1.593, allocations: 0 / 1.195 GB, free: 8.82 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1447): time 0.01912/1.612, allocations: 14.46 MB / 1.21 GB, free: 10.36 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/1.612, allocations: 209.1 kB / 1.21 GB, free: 10.15 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005107/1.617, allocations: 5.41 MB / 1.215 GB, free: 4.762 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004014/1.618, allocations: 257.7 kB / 1.215 GB, free: 4.504 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002441/1.62, allocations: 4.094 MB / 1.219 GB, free: 412 kB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003203/1.623, allocations: 4.939 MB / 1.224 GB, free: 11.53 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002104/1.625, allocations: 1.924 MB / 1.226 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.566e-05/1.625, allocations: 301.1 kB / 1.226 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00458/1.63, allocations: 3.55 MB / 1.23 GB, free: 5.703 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00574/1.636, allocations: 5.098 MB / 1.235 GB, free: 184 kB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01089/1.647, allocations: 9.033 MB / 1.244 GB, free: 6.82 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.25e-05/1.647, allocations: 12 kB / 1.244 GB, free: 6.809 MB / 0.9792 GB Notification: Performance of matching and sorting (n=1589) (initialization): time 0.01503/1.662, allocations: 11.51 MB / 1.255 GB, free: 11.39 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 9.422e-05/1.662, allocations: 156.5 kB / 1.255 GB, free: 11.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.62e-05/1.662, allocations: 31.98 kB / 1.255 GB, free: 11.17 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000867/1.663, allocations: 0.5327 MB / 1.256 GB, free: 10.62 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01395/1.677, allocations: 5.389 MB / 1.261 GB, free: 5.383 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008482/1.685, allocations: 15.2 MB / 1.276 GB, free: 5.207 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005008/1.69, allocations: 0.9731 MB / 1.277 GB, free: 4.227 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006725/1.691, allocations: 471.8 kB / 1.277 GB, free: 3.766 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.002883/1.694, allocations: 1.415 MB / 1.278 GB, free: 2.492 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001601/1.695, allocations: 1.141 MB / 1.28 GB, free: 1.344 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01545/1.711, allocations: 12.19 MB / 1.291 GB, free: 5.48 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.089e-05/1.711, allocations: 139.9 kB / 1.292 GB, free: 5.344 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.048e-05/1.711, allocations: 4 kB / 1.292 GB, free: 5.34 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.399e-05/1.711, allocations: 71.72 kB / 1.292 GB, free: 5.27 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02526/1.736, allocations: 19.86 MB / 1.311 GB, free: 1.664 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-05/1.736, allocations: 4 kB / 1.311 GB, free: 1.66 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.3214/2.058, allocations: 5.203 MB / 1.316 GB, free: 453.6 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001047/2.059, allocations: 493.3 kB / 1.317 GB, free: 453.5 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001787/2.061, allocations: 342.2 kB / 1.317 GB, free: 453.5 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007348/2.068, allocations: 15.05 MB / 1.332 GB, free: 440.9 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/2.068, allocations: 5.094 kB / 1.332 GB, free: 440.9 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02433/2.092, allocations: 16.01 MB / 1.347 GB, free: 440.2 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004119/2.096, allocations: 1.985 MB / 1.349 GB, free: 439.9 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001202/2.098, allocations: 246.2 kB / 1.349 GB, free: 439.9 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002693/2.1, allocations: 298.2 kB / 1.35 GB, free: 439.9 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009543/2.101, allocations: 0.9146 MB / 1.351 GB, free: 439.9 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005352/2.102, allocations: 423 kB / 1.351 GB, free: 439.9 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.004157/2.106, allocations: 3.407 MB / 1.354 GB, free: 439.7 MB / 1.042 GB Notification: Performance of sort global known variables: time 7.11e-07/2.106, allocations: 0 / 1.354 GB, free: 439.7 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.01136/2.117, allocations: 3.79 MB / 1.358 GB, free: 439.4 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.02245/2.14, allocations: 19.55 MB / 1.377 GB, free: 431.6 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.01403/2.154, allocations: 10.78 MB / 1.388 GB, free: 427.2 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/2.154, allocations: 0 / 1.388 GB, free: 427.2 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.006894/2.161, allocations: 6.093 MB / 1.394 GB, free: 424.8 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01157/2.172, allocations: 4.613 MB / 1.398 GB, free: 423.3 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09463/2.267, allocations: 71.49 MB / 1.468 GB, free: 361.4 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003325/2.27, allocations: 4.352 MB / 1.472 GB, free: 357.1 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.007839/2.278, allocations: 2.127 MB / 1.474 GB, free: 355.3 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004381/2.282, allocations: 5.264 MB / 1.479 GB, free: 350.1 MB / 1.042 GB Notification: Performance of SimCode: time 2.394e-06/2.282, allocations: 0 / 1.479 GB, free: 350.1 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2876/2.57, allocations: 291.3 MB / 1.764 GB, free: 60.19 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.33/25.9, allocations: 3.984 kB / 1.764 GB, free: 60.19 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: 29.128517762757838] Failed to read output from testmodel.py, exit status != 0: 26.145320175215602 26.15142951 24.844381967 Calling exit ...