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.0008284/0.0008284, 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.0008675/0.0008675, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.8794/0.8794, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.6905/0.6905, allocations: 116 MB / 375.2 MB, free: 4.18 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.493e-06/1.493e-06, allocations: 0 / 0.5533 GB, free: 13.28 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.723e-05/1.873e-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.4434/0.4434, allocations: 133.4 MB / 0.6836 GB, free: 5.859 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.006097/0.4495, allocations: 5.562 MB / 0.6891 GB, free: 5.418 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009193/0.4504, allocations: 46.53 kB / 0.6891 GB, free: 5.391 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0009831/0.4514, allocations: 355.8 kB / 0.6894 GB, free: 5.277 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.003101/0.4545, allocations: 1.103 MB / 0.6905 GB, free: 5.129 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001302/0.4558, allocations: 0.5275 MB / 0.691 GB, free: 5.055 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.00177/0.4576, allocations: 1.363 MB / 0.6924 GB, free: 4.684 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003174/0.4579, allocations: 132.7 kB / 0.6925 GB, free: 4.648 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001512/0.4594, allocations: 0.7805 MB / 0.6933 GB, free: 4.543 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006268/0.46, allocations: 451.3 kB / 0.6937 GB, free: 4.492 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001084/0.4602, allocations: 59.28 kB / 0.6937 GB, free: 4.492 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002232/0.4624, allocations: 0.9371 MB / 0.6947 GB, free: 4.398 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001366/0.4625, allocations: 163 kB / 0.6948 GB, free: 4.355 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002933/0.4628, allocations: 290.5 kB / 0.6951 GB, free: 4.312 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002223/0.465, allocations: 1.45 MB / 0.6965 GB, free: 4.141 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.465, allocations: 1.344 kB / 0.6965 GB, free: 4.141 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.934e-06/0.465, allocations: 4 kB / 0.6965 GB, free: 4.137 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.142e-05/0.4651, allocations: 0 / 0.6965 GB, free: 4.137 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.001997/0.4671, allocations: 1.388 MB / 0.6979 GB, free: 3.305 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.4671, allocations: 9.625 kB / 0.6979 GB, free: 3.305 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.359e-05/0.4672, allocations: 103.5 kB / 0.698 GB, free: 3.266 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001531/0.4674, allocations: 112.3 kB / 0.6981 GB, free: 3.211 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008527/0.4682, allocations: 0.5758 MB / 0.6986 GB, free: 2.887 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001438/0.4684, allocations: 215.9 kB / 0.6988 GB, free: 2.676 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.13e-05/0.4684, allocations: 74.89 kB / 0.6989 GB, free: 2.648 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009578/0.4694, allocations: 0.7176 MB / 0.6996 GB, free: 2.34 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.4694, allocations: 0 / 0.6996 GB, free: 2.34 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.674e-05/0.4694, allocations: 25.72 kB / 0.6996 GB, free: 2.32 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.4695, allocations: 13.94 kB / 0.6997 GB, free: 2.32 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008299/0.4703, allocations: 0.6048 MB / 0.7002 GB, free: 2.129 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001743/0.472, allocations: 1.567 MB / 0.7018 GB, free: 1.242 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.4731, allocations: 0.7329 MB / 0.7025 GB, free: 0.9219 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003749/0.4734, allocations: 289.3 kB / 0.7028 GB, free: 0.7773 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004186/0.4739, allocations: 185.1 kB / 0.7029 GB, free: 0.7031 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005403/0.4744, allocations: 458.4 kB / 0.7034 GB, free: 412 kB / 0.5573 GB Notification: Performance of pre-optimization done (n=72): time 2.124e-06/0.4744, allocations: 0 / 0.7034 GB, free: 412 kB / 0.5573 GB Notification: Performance of matching and sorting (n=72): time 0.001498/0.4759, allocations: 0.9553 MB / 0.7043 GB, free: 15.95 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.4759, allocations: 66.41 kB / 0.7044 GB, free: 15.89 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003908/0.4763, allocations: 0.5164 MB / 0.7049 GB, free: 15.57 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 4.56e-05/0.4764, allocations: 46.08 kB / 0.7049 GB, free: 15.52 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.4766, allocations: 348.9 kB / 0.7053 GB, free: 15.21 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.4767, allocations: 236.5 kB / 0.7055 GB, free: 15.02 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.4768, allocations: 127.6 kB / 0.7056 GB, free: 14.93 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.477, allocations: 382.4 kB / 0.706 GB, free: 14.57 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004317/0.4774, allocations: 387.2 kB / 0.7063 GB, free: 14.29 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004513/0.4779, allocations: 450.7 kB / 0.7068 GB, free: 13.96 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007804/0.4786, allocations: 0.6583 MB / 0.7074 GB, free: 13.53 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.4786, allocations: 0 / 0.7074 GB, free: 13.53 MB / 0.573 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001121/0.4798, allocations: 1.051 MB / 0.7084 GB, free: 12.82 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 8.349e-05/0.4798, allocations: 151.2 kB / 0.7086 GB, free: 12.65 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.4798, allocations: 0 / 0.7086 GB, free: 12.65 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003934/0.4802, allocations: 82.33 kB / 0.7087 GB, free: 12.61 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003078/0.4805, allocations: 132.9 kB / 0.7088 GB, free: 12.57 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003658/0.4809, allocations: 0.5681 MB / 0.7093 GB, free: 12.02 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003314/0.4812, allocations: 81.06 kB / 0.7094 GB, free: 11.97 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.068e-05/0.4813, allocations: 28.48 kB / 0.7094 GB, free: 11.96 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.0002806/0.4816, allocations: 209.2 kB / 0.7096 GB, free: 11.79 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.56e-05/0.4817, allocations: 88.89 kB / 0.7097 GB, free: 11.73 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/0.4828, allocations: 0.8004 MB / 0.7105 GB, free: 11.3 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.4828, allocations: 8.031 kB / 0.7105 GB, free: 11.3 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4829, allocations: 7.938 kB / 0.7105 GB, free: 11.3 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.4829, allocations: 8.016 kB / 0.7105 GB, free: 11.29 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005669/0.4834, allocations: 0.5706 MB / 0.7111 GB, free: 10.88 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.4834, allocations: 0 / 0.7111 GB, free: 10.88 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003057/0.4837, allocations: 126.4 kB / 0.7112 GB, free: 10.84 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003262/0.4841, allocations: 71.02 kB / 0.7113 GB, free: 10.81 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.282e-05/0.4841, allocations: 24.02 kB / 0.7113 GB, free: 10.8 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003055/0.4844, allocations: 0.5618 MB / 0.7119 GB, free: 10.25 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4844, allocations: 0 / 0.7119 GB, free: 10.25 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/0.4858, allocations: 1.047 MB / 0.7129 GB, free: 9.688 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002054/0.486, allocations: 141.3 kB / 0.713 GB, free: 9.582 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.548e-05/0.486, allocations: 20.83 kB / 0.713 GB, free: 9.566 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.4862, allocations: 50.89 kB / 0.7131 GB, free: 9.543 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.4863, allocations: 84.33 kB / 0.7132 GB, free: 9.484 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.519e-05/0.4864, allocations: 28.22 kB / 0.7132 GB, free: 9.473 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002576/0.4866, allocations: 350.7 kB / 0.7135 GB, free: 9.27 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.61e-07/0.4866, allocations: 0 / 0.7135 GB, free: 9.27 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0007036/0.4873, allocations: 307.6 kB / 0.7138 GB, free: 9.18 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.00209/0.4894, allocations: 1.882 MB / 0.7157 GB, free: 7.984 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001172/0.4906, allocations: 1.018 MB / 0.7166 GB, free: 7.23 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4906, allocations: 0 / 0.7166 GB, free: 7.23 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004646/0.4911, allocations: 336.3 kB / 0.717 GB, free: 7.09 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008483/0.4919, allocations: 306.7 kB / 0.7173 GB, free: 6.934 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006473/0.4984, allocations: 6.222 MB / 0.7233 GB, free: 2.73 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002237/0.4986, allocations: 349.8 kB / 0.7237 GB, free: 2.523 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0004168/0.499, allocations: 131.8 kB / 0.7238 GB, free: 2.477 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002919/0.4993, allocations: 306.8 kB / 0.7241 GB, free: 2.227 MB / 0.573 GB Notification: Performance of SimCode: time 1.142e-06/0.4993, allocations: 3.938 kB / 0.7241 GB, free: 2.223 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0379/0.5372, allocations: 24.3 MB / 0.7478 GB, free: 0.5977 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.532/9.069, allocations: 3.75 kB / 0.7478 GB, free: 0.5977 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: 11.88461768720299] Failed to read output from testmodel.py, exit status != 0: 9.169130534864962 9.178298743 8.711385308 Calling exit ...