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.000785/0.000785, allocations: 81.67 kB / 19.27 MB, free: 0.6016 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.0008525/0.0008525, allocations: 166 kB / 22.57 MB, free: 1.945 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.939/0.939, allocations: 177.1 MB / 202.9 MB, free: 5.672 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.678/0.678, allocations: 116 MB / 375.4 MB, free: 4.168 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 2.315e-06/2.315e-06, allocations: 3.938 kB / 0.5535 GB, free: 13.19 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.57e-05/2.801e-05, allocations: 2.312 kB / 0.5535 GB, free: 13.18 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Prescribed3): time 0.4156/0.4156, allocations: 133.4 MB / 0.6839 GB, free: 6.383 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.005163/0.4208, allocations: 5.562 MB / 0.6893 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000537/0.4213, allocations: 47.59 kB / 0.6893 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0008461/0.4222, allocations: 358.8 kB / 0.6897 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002308/0.4245, allocations: 1.1 MB / 0.6907 GB, free: 5.652 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009524/0.4254, allocations: 0.5221 MB / 0.6913 GB, free: 5.586 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.00152/0.4269, allocations: 1.363 MB / 0.6926 GB, free: 5.211 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002654/0.4272, allocations: 138.4 kB / 0.6927 GB, free: 5.176 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/0.4282, allocations: 0.7652 MB / 0.6935 GB, free: 5.078 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005417/0.4288, allocations: 457.1 kB / 0.6939 GB, free: 5.023 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001257/0.4289, allocations: 60.38 kB / 0.694 GB, free: 5.023 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001682/0.4306, allocations: 0.9424 MB / 0.6949 GB, free: 4.926 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001657/0.4307, allocations: 171.6 kB / 0.695 GB, free: 4.879 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004004/0.4311, allocations: 283.3 kB / 0.6953 GB, free: 4.84 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001953/0.4331, allocations: 1.444 MB / 0.6967 GB, free: 4.52 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.4331, allocations: 1.188 kB / 0.6967 GB, free: 4.52 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.923e-06/0.4331, allocations: 0 / 0.6967 GB, free: 4.52 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.801e-05/0.4331, allocations: 0 / 0.6967 GB, free: 4.52 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.001745/0.4349, allocations: 1.391 MB / 0.6981 GB, free: 3.555 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.4349, allocations: 9.625 kB / 0.6981 GB, free: 3.555 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.319e-05/0.435, allocations: 106.3 kB / 0.6982 GB, free: 3.477 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.4351, allocations: 108.5 kB / 0.6983 GB, free: 3.422 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007479/0.4359, allocations: 0.619 MB / 0.6989 GB, free: 3.074 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/0.436, allocations: 212.3 kB / 0.6991 GB, free: 2.867 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.095e-05/0.4361, allocations: 70.55 kB / 0.6992 GB, free: 2.844 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008837/0.4369, allocations: 0.7221 MB / 0.6999 GB, free: 2.531 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.437, allocations: 3.938 kB / 0.6999 GB, free: 2.527 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.784e-05/0.437, allocations: 25.94 kB / 0.6999 GB, free: 2.508 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.437, allocations: 13.28 kB / 0.6999 GB, free: 2.508 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008429/0.4379, allocations: 0.6073 MB / 0.7005 GB, free: 2.316 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001602/0.4395, allocations: 1.58 MB / 0.7021 GB, free: 1.43 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009924/0.4404, allocations: 0.7317 MB / 0.7028 GB, free: 1.062 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003693/0.4408, allocations: 286.5 kB / 0.703 GB, free: 0.9219 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003671/0.4412, allocations: 183 kB / 0.7032 GB, free: 0.8477 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005307/0.4417, allocations: 453.3 kB / 0.7037 GB, free: 0.5508 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=72): time 2.084e-06/0.4417, allocations: 0 / 0.7037 GB, free: 0.5508 MB / 0.5573 GB Notification: Performance of matching and sorting (n=72): time 0.001487/0.4432, allocations: 0.9542 MB / 0.7046 GB, free: 104 kB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.4432, allocations: 72.98 kB / 0.7047 GB, free: 32 kB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004171/0.4437, allocations: 0.5094 MB / 0.7052 GB, free: 15.72 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 4.608e-05/0.4437, allocations: 46.61 kB / 0.7052 GB, free: 15.67 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/0.4439, allocations: 356.2 kB / 0.7055 GB, free: 15.36 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.444, allocations: 230.2 kB / 0.7058 GB, free: 15.16 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.4442, allocations: 129 kB / 0.7059 GB, free: 15.08 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.4443, allocations: 385.4 kB / 0.7062 GB, free: 14.71 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004579/0.4448, allocations: 386.7 kB / 0.7066 GB, free: 14.43 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004647/0.4452, allocations: 447.2 kB / 0.707 GB, free: 14.11 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007741/0.446, allocations: 0.6579 MB / 0.7077 GB, free: 13.68 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.446, allocations: 0 / 0.7077 GB, free: 13.68 MB / 0.573 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001165/0.4472, allocations: 1.055 MB / 0.7087 GB, free: 12.96 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 8.19e-05/0.4473, allocations: 151.4 kB / 0.7089 GB, free: 12.79 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.4473, allocations: 0.875 kB / 0.7089 GB, free: 12.79 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003946/0.4477, allocations: 79.11 kB / 0.7089 GB, free: 12.75 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003016/0.448, allocations: 131.4 kB / 0.7091 GB, free: 12.72 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003592/0.4483, allocations: 0.5682 MB / 0.7096 GB, free: 12.16 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002594/0.4486, allocations: 79.56 kB / 0.7097 GB, free: 12.12 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.988e-05/0.4486, allocations: 30.23 kB / 0.7097 GB, free: 12.11 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.0002024/0.4488, allocations: 210.2 kB / 0.7099 GB, free: 11.93 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.044e-05/0.4489, allocations: 84.36 kB / 0.71 GB, free: 11.88 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/0.45, allocations: 0.8026 MB / 0.7108 GB, free: 11.45 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.45, allocations: 8.219 kB / 0.7108 GB, free: 11.45 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.45, allocations: 0 / 0.7108 GB, free: 11.45 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.45, allocations: 3.984 kB / 0.7108 GB, free: 11.45 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005062/0.4505, allocations: 0.5804 MB / 0.7114 GB, free: 11.03 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.4505, allocations: 0 / 0.7114 GB, free: 11.03 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003057/0.4508, allocations: 122.4 kB / 0.7115 GB, free: 11 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002639/0.4511, allocations: 75.64 kB / 0.7115 GB, free: 10.96 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.463e-05/0.4511, allocations: 21.39 kB / 0.7116 GB, free: 10.95 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002741/0.4514, allocations: 0.5601 MB / 0.7121 GB, free: 10.4 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4514, allocations: 0 / 0.7121 GB, free: 10.4 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/0.4528, allocations: 1.057 MB / 0.7131 GB, free: 9.836 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001792/0.4529, allocations: 132.8 kB / 0.7133 GB, free: 9.734 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.019e-05/0.453, allocations: 21.23 kB / 0.7133 GB, free: 9.719 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/0.4532, allocations: 46.52 kB / 0.7133 GB, free: 9.699 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/0.4534, allocations: 83.27 kB / 0.7134 GB, free: 9.645 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.703e-05/0.4534, allocations: 32 kB / 0.7135 GB, free: 9.629 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002547/0.4536, allocations: 352.1 kB / 0.7138 GB, free: 9.422 MB / 0.573 GB Notification: Performance of sort global known variables: time 6e-08/0.4536, allocations: 0 / 0.7138 GB, free: 9.422 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0005465/0.4542, allocations: 309.7 kB / 0.7141 GB, free: 9.332 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.001925/0.4561, allocations: 1.882 MB / 0.7159 GB, free: 8.137 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001043/0.4572, allocations: 1.019 MB / 0.7169 GB, free: 7.383 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4572, allocations: 0 / 0.7169 GB, free: 7.383 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004447/0.4576, allocations: 332.7 kB / 0.7172 GB, free: 7.246 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007225/0.4583, allocations: 310.1 kB / 0.7175 GB, free: 7.094 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005968/0.4643, allocations: 6.222 MB / 0.7236 GB, free: 2.891 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.4645, allocations: 352.9 kB / 0.7239 GB, free: 2.68 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0003335/0.4649, allocations: 133.6 kB / 0.7241 GB, free: 2.633 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002892/0.4652, allocations: 300.5 kB / 0.7244 GB, free: 2.387 MB / 0.573 GB Notification: Performance of SimCode: time 8.72e-07/0.4652, allocations: 6.531 kB / 0.7244 GB, free: 2.383 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.037/0.5022, allocations: 24.31 MB / 0.7481 GB, free: 0.6523 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.767/9.269, allocations: 4.062 kB / 0.7481 GB, free: 0.6484 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 & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Prescribed3_res.csv --start-time 0 --stop-time 1 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 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: 12.167128859087825] Failed to read output from testmodel.py, exit status != 0: 9.371525135822594 9.382767538 8.947691798 Calling exit ...