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.001031/0.001031, allocations: 76.25 kB / 19.27 MB, free: 0.6055 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.001095/0.001095, allocations: 162 kB / 22.57 MB, free: 1.949 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.9586/0.9586, allocations: 177.1 MB / 202.9 MB, free: 5.695 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.7109/0.7109, allocations: 116 MB / 375.4 MB, free: 4.152 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 2.444e-06/2.444e-06, allocations: 0 / 0.5537 GB, free: 13.07 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.466e-05/2.71e-05, allocations: 2.312 kB / 0.5537 GB, free: 13.07 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Prescribed1and3Cycle): time 0.5692/0.5692, allocations: 340 MB / 0.8857 GB, free: 9.035 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.519/1.088, allocations: 69.89 MB / 0.954 GB, free: 16 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0129/1.101, allocations: 0.6665 MB / 0.9546 GB, free: 16 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.01462/1.116, allocations: 4.056 MB / 0.9586 GB, free: 16 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.04448/1.16, allocations: 13.17 MB / 0.9714 GB, free: 13.53 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.01924/1.179, allocations: 8.372 MB / 0.9796 GB, free: 12.89 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.03072/1.21, allocations: 19.86 MB / 0.999 GB, free: 7.805 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00476/1.215, allocations: 1.972 MB / 1.001 GB, free: 7.332 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02635/1.241, allocations: 11.61 MB / 1.012 GB, free: 5.973 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01277/1.254, allocations: 6.896 MB / 1.019 GB, free: 5.184 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.003756/1.258, allocations: 0.7826 MB / 1.02 GB, free: 5.184 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02452/1.282, allocations: 9.979 MB / 1.03 GB, free: 4.449 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.004627/1.287, allocations: 2.297 MB / 1.032 GB, free: 3.797 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.009982/1.297, allocations: 3.837 MB / 1.036 GB, free: 3.16 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.03728/1.334, allocations: 19.37 MB / 1.054 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/1.334, allocations: 0 / 1.054 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.996e-06/1.334, allocations: 6.891 kB / 1.054 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0008113/1.335, 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.0289/1.364, allocations: 13.49 MB / 1.068 GB, free: 7.258 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/1.364, allocations: 9.125 kB / 1.068 GB, free: 7.258 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002401/1.366, allocations: 1.304 MB / 1.069 GB, free: 6.922 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003632/1.37, allocations: 1.503 MB / 1.07 GB, free: 5.848 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01647/1.386, allocations: 7.15 MB / 1.077 GB, free: 40 kB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002838/1.389, allocations: 5.123 MB / 1.082 GB, free: 10.24 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002729/1.392, allocations: 0.9703 MB / 1.083 GB, free: 9.59 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02239/1.414, allocations: 10.16 MB / 1.093 GB, free: 1.668 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002215/1.415, allocations: 6.344 kB / 1.093 GB, free: 1.664 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002472/1.417, allocations: 396 kB / 1.094 GB, free: 1.277 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001471/1.417, allocations: 240 kB / 1.094 GB, free: 1.043 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01992/1.437, allocations: 10.33 MB / 1.104 GB, free: 6.73 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04395/1.481, allocations: 22.25 MB / 1.126 GB, free: 0.9453 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07546/1.557, allocations: 45.28 MB / 1.17 GB, free: 2.668 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01011/1.567, allocations: 5.229 MB / 1.175 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04544/1.612, allocations: 15.7 MB / 1.19 GB, free: 14.09 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01039/1.623, allocations: 5.167 MB / 1.195 GB, free: 8.902 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=1447): time 1.624e-05/1.623, allocations: 0 / 1.195 GB, free: 8.902 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1447): time 0.03594/1.658, allocations: 14.47 MB / 1.209 GB, free: 10.44 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001344/1.659, allocations: 205.3 kB / 1.21 GB, free: 10.23 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007174/1.666, allocations: 5.406 MB / 1.215 GB, free: 4.848 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.002046/1.668, allocations: 265.7 kB / 1.215 GB, free: 4.582 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002931/1.671, allocations: 4.084 MB / 1.219 GB, free: 500 kB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.005006/1.676, allocations: 4.948 MB / 1.224 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002881/1.679, allocations: 1.916 MB / 1.226 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.947e-05/1.679, allocations: 305.1 kB / 1.226 GB, free: 9.375 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006785/1.686, allocations: 3.554 MB / 1.23 GB, free: 5.781 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00864/1.694, allocations: 5.087 MB / 1.235 GB, free: 276 kB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01672/1.711, allocations: 9.038 MB / 1.243 GB, free: 6.902 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.817e-05/1.711, allocations: 14.34 kB / 1.243 GB, free: 6.891 MB / 0.9792 GB Notification: Performance of matching and sorting (n=1589) (initialization): time 0.02428/1.735, allocations: 11.5 MB / 1.255 GB, free: 11.47 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00011/1.735, allocations: 156.5 kB / 1.255 GB, free: 11.29 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.971e-05/1.735, allocations: 32 kB / 1.255 GB, free: 11.26 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009436/1.736, allocations: 0.5286 MB / 1.255 GB, free: 10.71 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01683/1.753, allocations: 5.39 MB / 1.261 GB, free: 5.469 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01099/1.764, allocations: 15.19 MB / 1.275 GB, free: 5.305 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00705/1.771, allocations: 0.9771 MB / 1.276 GB, free: 4.32 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002066/1.773, allocations: 479.8 kB / 1.277 GB, free: 3.852 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.004231/1.777, allocations: 1.411 MB / 1.278 GB, free: 2.582 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002793/1.78, allocations: 1.141 MB / 1.279 GB, free: 1.434 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02329/1.804, allocations: 12.18 MB / 1.291 GB, free: 5.574 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.774e-05/1.804, allocations: 147.9 kB / 1.291 GB, free: 5.43 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.26e-05/1.804, allocations: 0 / 1.291 GB, free: 5.43 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001832/1.804, allocations: 75.72 kB / 1.291 GB, free: 5.355 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03975/1.844, allocations: 19.86 MB / 1.311 GB, free: 1.746 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.781e-05/1.844, allocations: 0 / 1.311 GB, free: 1.746 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.3384/2.182, allocations: 5.208 MB / 1.316 GB, free: 0.5295 GB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001086/2.183, allocations: 491.4 kB / 1.316 GB, free: 0.5294 GB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001909/2.185, allocations: 341 kB / 1.317 GB, free: 0.5294 GB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007035/2.192, allocations: 15.05 MB / 1.331 GB, free: 0.5171 GB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/2.192, allocations: 0 / 1.331 GB, free: 0.5171 GB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03926/2.231, allocations: 16.01 MB / 1.347 GB, free: 0.513 GB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005993/2.237, allocations: 1.979 MB / 1.349 GB, free: 0.5123 GB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002999/2.24, allocations: 251.8 kB / 1.349 GB, free: 0.5121 GB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006116/2.246, allocations: 293.8 kB / 1.35 GB, free: 0.512 GB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002718/2.249, allocations: 0.9203 MB / 1.35 GB, free: 0.5118 GB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00196/2.251, allocations: 421.1 kB / 1.351 GB, free: 0.5117 GB / 1.042 GB Notification: Performance of sorting global known variables: time 0.004467/2.256, allocations: 3.41 MB / 1.354 GB, free: 0.5107 GB / 1.042 GB Notification: Performance of sort global known variables: time 1.8e-07/2.256, allocations: 0 / 1.354 GB, free: 0.5107 GB / 1.042 GB Notification: Performance of remove unused functions: time 0.01208/2.268, allocations: 3.79 MB / 1.358 GB, free: 0.5098 GB / 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.03603/2.304, allocations: 19.55 MB / 1.377 GB, free: 0.502 GB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.01847/2.322, allocations: 10.78 MB / 1.388 GB, free: 0.4944 GB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/2.322, allocations: 0 / 1.388 GB, free: 0.4944 GB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.009904/2.332, allocations: 6.1 MB / 1.393 GB, free: 0.4889 GB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01501/2.347, allocations: 4.617 MB / 1.398 GB, free: 497.3 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08143/2.428, allocations: 71.47 MB / 1.468 GB, free: 427.4 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002627/2.431, allocations: 4.353 MB / 1.472 GB, free: 423.1 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.006625/2.438, allocations: 2.131 MB / 1.474 GB, free: 421.5 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003619/2.441, allocations: 5.257 MB / 1.479 GB, free: 416.3 MB / 1.042 GB Notification: Performance of SimCode: time 2.274e-06/2.441, allocations: 0 / 1.479 GB, free: 416.3 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3089/2.75, allocations: 291.3 MB / 1.764 GB, free: 127 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.73/28.48, allocations: 11.98 kB / 1.764 GB, free: 127 MB / 1.042 GB " [Timeout remaining time 631] (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 & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.PolytropicPerfectGas.Prescribed1and3Cycle_res.csv --start-time 0 --stop-time 1.5 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 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: 31.615266299806535] Failed to read output from testmodel.py, exit status != 0: 28.72397254873067 28.730655692 27.394153485 Calling exit ...