Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Prescribed3.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.0007875/0.0007875, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007597/0.0007597, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8455/0.8455, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.5897/0.5897, allocations: 116 MB / 375.2 MB, free: 4.203 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.Adiabatic.Prescribed3,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Prescribed3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Prescribed3,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Prescribed3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 0.5533 GB, free: 13.29 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.023e-05/1.158e-05, allocations: 2.281 kB / 0.5533 GB, free: 13.28 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Prescribed3): time 0.3373/0.3373, allocations: 133.4 MB / 0.6836 GB, free: 6.328 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.005087/0.3424, allocations: 5.56 MB / 0.6891 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009381/0.3433, allocations: 47.56 kB / 0.6891 GB, free: 5.859 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0009936/0.3443, allocations: 358.4 kB / 0.6894 GB, free: 5.746 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002935/0.3473, allocations: 1.1 MB / 0.6905 GB, free: 5.598 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.3484, allocations: 0.5236 MB / 0.691 GB, free: 5.531 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001711/0.3501, allocations: 1.357 MB / 0.6924 GB, free: 5.16 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002953/0.3504, allocations: 138.6 kB / 0.6925 GB, free: 5.125 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001126/0.3515, allocations: 0.7763 MB / 0.6932 GB, free: 5.023 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004719/0.352, allocations: 453.6 kB / 0.6937 GB, free: 4.969 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 7.362e-05/0.3521, allocations: 59.69 kB / 0.6937 GB, free: 4.969 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001721/0.3538, allocations: 0.941 MB / 0.6947 GB, free: 4.871 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.3539, allocations: 160.2 kB / 0.6948 GB, free: 4.832 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002688/0.3542, allocations: 292.2 kB / 0.6951 GB, free: 4.789 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002236/0.3564, allocations: 1.444 MB / 0.6965 GB, free: 4.492 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3564, allocations: 1.375 kB / 0.6965 GB, free: 4.492 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3564, allocations: 0 / 0.6965 GB, free: 4.492 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.3565, allocations: 4 kB / 0.6965 GB, free: 4.488 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.001567/0.358, allocations: 1.387 MB / 0.6979 GB, free: 3.527 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.3581, allocations: 9.875 kB / 0.6979 GB, free: 3.527 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.939e-05/0.3581, allocations: 106.4 kB / 0.698 GB, free: 3.449 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.3583, allocations: 112.3 kB / 0.6981 GB, free: 3.395 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007386/0.359, allocations: 0.5786 MB / 0.6986 GB, free: 3.047 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.3591, allocations: 212.7 kB / 0.6988 GB, free: 2.84 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.779e-05/0.3592, allocations: 68.23 kB / 0.6989 GB, free: 2.816 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007849/0.36, allocations: 0.7241 MB / 0.6996 GB, free: 2.5 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.36, allocations: 0.8438 kB / 0.6996 GB, free: 2.5 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.521e-05/0.36, allocations: 27.66 kB / 0.6996 GB, free: 2.48 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.36, allocations: 19.52 kB / 0.6997 GB, free: 2.477 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007636/0.3608, allocations: 0.6039 MB / 0.7003 GB, free: 2.285 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001614/0.3624, allocations: 1.565 MB / 0.7018 GB, free: 1.398 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009391/0.3633, allocations: 0.7303 MB / 0.7025 GB, free: 1.051 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003499/0.3637, allocations: 289 kB / 0.7028 GB, free: 0.9102 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004084/0.3641, allocations: 187.1 kB / 0.7029 GB, free: 0.832 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005042/0.3646, allocations: 452.5 kB / 0.7034 GB, free: 0.5391 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=72): time 2.335e-06/0.3646, allocations: 0 / 0.7034 GB, free: 0.5391 MB / 0.5573 GB Notification: Performance of matching and sorting (n=72): time 0.001459/0.3661, allocations: 0.9576 MB / 0.7043 GB, free: 88 kB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.3661, allocations: 66.22 kB / 0.7044 GB, free: 20 kB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003894/0.3665, allocations: 0.5095 MB / 0.7049 GB, free: 15.71 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 4.169e-05/0.3665, allocations: 46.55 kB / 0.7049 GB, free: 15.66 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/0.3667, allocations: 356.2 kB / 0.7053 GB, free: 15.35 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.3668, allocations: 235.2 kB / 0.7055 GB, free: 15.15 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.367, allocations: 129 kB / 0.7056 GB, free: 15.06 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.3671, allocations: 383 kB / 0.706 GB, free: 14.7 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004033/0.3675, allocations: 385.5 kB / 0.7063 GB, free: 14.42 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004339/0.3679, allocations: 454.8 kB / 0.7068 GB, free: 14.09 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009979/0.3689, allocations: 0.6576 MB / 0.7074 GB, free: 13.66 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.3689, allocations: 0 / 0.7074 GB, free: 13.66 MB / 0.573 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001227/0.3701, allocations: 1.047 MB / 0.7084 GB, free: 12.95 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 7.404e-05/0.3702, allocations: 149 kB / 0.7086 GB, free: 12.78 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.3702, allocations: 2.188 kB / 0.7086 GB, free: 12.78 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000388/0.3706, allocations: 79.66 kB / 0.7087 GB, free: 12.74 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002805/0.3709, allocations: 131.8 kB / 0.7088 GB, free: 12.71 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000331/0.3712, allocations: 0.5716 MB / 0.7093 GB, free: 12.15 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003446/0.3716, allocations: 79.12 kB / 0.7094 GB, free: 12.11 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.604e-05/0.3716, allocations: 30.77 kB / 0.7094 GB, free: 12.09 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 25 (isentropicEfficiency.count,$PRE.isentropicEfficiency.count,isentropicEfficiency.T_start,$PRE.isentropicEfficiency.T_start,massFlowRate.count,$PRE.massFlowRate.count,massFlowRate.T_start,$PRE.massFlowRate.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 (79): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002922/0.3719, allocations: 205.8 kB / 0.7096 GB, free: 11.92 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.961e-05/0.372, allocations: 88.05 kB / 0.7097 GB, free: 11.87 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001136/0.3731, allocations: 0.8024 MB / 0.7105 GB, free: 11.43 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/0.3731, allocations: 8.25 kB / 0.7105 GB, free: 11.43 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3731, allocations: 0 / 0.7105 GB, free: 11.43 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.3732, allocations: 7.984 kB / 0.7105 GB, free: 11.43 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005491/0.3737, allocations: 0.5709 MB / 0.7111 GB, free: 11.02 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3737, allocations: 0 / 0.7111 GB, free: 11.02 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002912/0.374, allocations: 128.7 kB / 0.7112 GB, free: 10.98 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002852/0.3743, allocations: 71.73 kB / 0.7113 GB, free: 10.95 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.418e-05/0.3743, allocations: 25.22 kB / 0.7113 GB, free: 10.93 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002738/0.3746, allocations: 0.5616 MB / 0.7118 GB, free: 10.38 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.3746, allocations: 2.5 kB / 0.7119 GB, free: 10.38 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/0.3759, allocations: 1.051 MB / 0.7129 GB, free: 9.816 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002149/0.3761, allocations: 138.6 kB / 0.713 GB, free: 9.711 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.337e-05/0.3762, allocations: 13.19 kB / 0.713 GB, free: 9.703 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.3764, allocations: 47.78 kB / 0.7131 GB, free: 9.68 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.3765, allocations: 83.33 kB / 0.7131 GB, free: 9.625 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.672e-05/0.3766, allocations: 31.92 kB / 0.7132 GB, free: 9.609 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002457/0.3768, allocations: 354.5 kB / 0.7135 GB, free: 9.402 MB / 0.573 GB Notification: Performance of sort global known variables: time 5e-08/0.3768, allocations: 0 / 0.7135 GB, free: 9.402 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0006233/0.3774, allocations: 303.3 kB / 0.7138 GB, free: 9.316 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (firstOrder.y,adiabaticFilter.dp) * 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,massFlowRate.T_start,massFlowRate.count,isentropicEfficiency.T_start,isentropicEfficiency.count) * Number of discrete states: 5 (inletPressure.count,inletTemperature.count,pressureRatio.count,massFlowRate.count,isentropicEfficiency.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001973/0.3794, allocations: 1.892 MB / 0.7157 GB, free: 8.113 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001202/0.3806, allocations: 1.011 MB / 0.7166 GB, free: 7.367 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3806, allocations: 0 / 0.7166 GB, free: 7.367 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004592/0.3811, allocations: 337.1 kB / 0.717 GB, free: 7.227 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008828/0.3819, allocations: 312.8 kB / 0.7173 GB, free: 7.066 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006501/0.3884, allocations: 6.231 MB / 0.7233 GB, free: 2.855 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/0.3887, allocations: 345 kB / 0.7237 GB, free: 2.652 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0004343/0.3891, allocations: 133.1 kB / 0.7238 GB, free: 2.602 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002759/0.3894, allocations: 299.1 kB / 0.7241 GB, free: 2.359 MB / 0.573 GB Notification: Performance of SimCode: time 1.553e-06/0.3894, allocations: 7.938 kB / 0.7241 GB, free: 2.352 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03211/0.4215, allocations: 24.3 MB / 0.7478 GB, free: 0.7188 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.18/8.602, allocations: 4.062 kB / 0.7478 GB, free: 0.7148 MB / 0.5886 GB " [Timeout remaining time 651] (rm -f ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Prescribed3.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Prescribed3.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Prescribed3.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Prescribed3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Prescribed3_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Prescribed3_fmu --startTime=0 --stopTime=1 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Prescribed3.fmu > ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Prescribed3.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 10.962272741831839] Failed to read output from testmodel.py, exit status != 0: 8.696541478857398 8.703953106 8.345928109 Calling exit ...