Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3.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.001268/0.001268, 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.0009119/0.0009119, 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.9537/0.9537, allocations: 177.2 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.7004/0.7004, allocations: 116 MB / 375.4 MB, free: 4.133 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.Warnings3,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Warnings3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Adiabatic_Warnings3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.5535 GB, free: 13.2 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.436e-05/2.594e-05, allocations: 2.312 kB / 0.5535 GB, free: 13.2 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3): time 0.4205/0.4205, allocations: 132.1 MB / 0.6825 GB, free: 6.496 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.005077/0.4256, allocations: 4.412 MB / 0.6868 GB, free: 6.148 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008205/0.4264, allocations: 46.03 kB / 0.6869 GB, free: 6.121 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0009395/0.4273, allocations: 310.5 kB / 0.6872 GB, free: 6.02 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001987/0.4293, allocations: 0.8486 MB / 0.688 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.4304, allocations: 488.2 kB / 0.6885 GB, free: 5.867 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001332/0.4318, allocations: 1.164 MB / 0.6896 GB, free: 5.594 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002378/0.432, allocations: 98.91 kB / 0.6897 GB, free: 5.559 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001033/0.433, allocations: 0.6599 MB / 0.6903 GB, free: 5.465 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005174/0.4336, allocations: 375.5 kB / 0.6907 GB, free: 5.418 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.4337, allocations: 48.62 kB / 0.6907 GB, free: 5.418 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001536/0.4352, allocations: 0.7117 MB / 0.6914 GB, free: 5.348 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001277/0.4353, allocations: 141.6 kB / 0.6916 GB, free: 5.305 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002582/0.4356, allocations: 229 kB / 0.6918 GB, free: 5.273 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001856/0.4374, allocations: 1.18 MB / 0.6929 GB, free: 5.137 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.4374, allocations: 1.219 kB / 0.6929 GB, free: 5.137 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4374, allocations: 0 / 0.6929 GB, free: 5.137 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.297e-05/0.4375, allocations: 0 / 0.6929 GB, free: 5.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: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.002009/0.4395, allocations: 1.15 MB / 0.6941 GB, free: 4.465 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.4395, allocations: 8.844 kB / 0.6941 GB, free: 4.465 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.691e-05/0.4396, allocations: 86.38 kB / 0.6942 GB, free: 4.426 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001523/0.4398, allocations: 90.72 kB / 0.6942 GB, free: 4.379 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009051/0.4407, allocations: 0.5794 MB / 0.6948 GB, free: 4.117 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/0.4408, allocations: 144.8 kB / 0.6949 GB, free: 3.992 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.208e-05/0.4408, allocations: 49.31 kB / 0.695 GB, free: 3.988 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008502/0.4417, allocations: 0.5704 MB / 0.6955 GB, free: 3.883 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.4417, allocations: 0 / 0.6955 GB, free: 3.883 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.353e-05/0.4417, allocations: 22.5 kB / 0.6956 GB, free: 3.879 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/0.4417, allocations: 10.88 kB / 0.6956 GB, free: 3.879 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008783/0.4426, allocations: 0.5161 MB / 0.6961 GB, free: 3.82 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001842/0.4445, allocations: 1.365 MB / 0.6974 GB, free: 3.004 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009928/0.4454, allocations: 483.5 kB / 0.6979 GB, free: 2.828 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004134/0.4459, allocations: 230.5 kB / 0.6981 GB, free: 2.758 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004281/0.4463, allocations: 131.3 kB / 0.6982 GB, free: 2.73 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006291/0.4469, allocations: 341.7 kB / 0.6985 GB, free: 2.582 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=47): time 2.655e-06/0.4469, allocations: 0 / 0.6985 GB, free: 2.582 MB / 0.5573 GB Notification: Performance of matching and sorting (n=48): time 0.003539/0.4505, allocations: 1.812 MB / 0.7003 GB, free: 1.895 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.4505, allocations: 65.56 kB / 0.7004 GB, free: 1.824 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005086/0.451, allocations: 0.5753 MB / 0.7009 GB, free: 1.566 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.451, allocations: 38.52 kB / 0.701 GB, free: 1.527 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.4512, allocations: 314 kB / 0.7013 GB, free: 1.266 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 6.742e-05/0.4512, allocations: 162.4 kB / 0.7014 GB, free: 1.129 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.491e-05/0.4513, allocations: 82.75 kB / 0.7015 GB, free: 1.074 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.481e-05/0.4514, allocations: 327.3 kB / 0.7018 GB, free: 0.7539 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004177/0.4518, allocations: 286.5 kB / 0.7021 GB, free: 0.5781 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004089/0.4522, allocations: 332.9 kB / 0.7024 GB, free: 372 kB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007763/0.453, allocations: 0.5238 MB / 0.7029 GB, free: 60 kB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.453, allocations: 0 / 0.7029 GB, free: 60 kB / 0.5573 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001172/0.4541, allocations: 0.7828 MB / 0.7037 GB, free: 15.58 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 4.776e-05/0.4542, allocations: 63.39 kB / 0.7038 GB, free: 15.51 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.4542, allocations: 0 / 0.7038 GB, free: 15.51 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003788/0.4546, allocations: 81.94 kB / 0.7038 GB, free: 15.47 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003017/0.4549, allocations: 131.9 kB / 0.704 GB, free: 15.43 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003326/0.4552, allocations: 0.5615 MB / 0.7045 GB, free: 14.88 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003795/0.4556, allocations: 70.5 kB / 0.7046 GB, free: 14.84 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.583e-05/0.4556, allocations: 14.72 kB / 0.7046 GB, free: 14.84 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: 10 (massFlowRate.count,$PRE.massFlowRate.count,massFlowRate.T_start,$PRE.massFlowRate.T_start,power.count,$PRE.power.count,power.T_start,$PRE.power.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 2 * 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.0002443/0.4559, allocations: 182.9 kB / 0.7048 GB, free: 14.68 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.752e-05/0.4559, allocations: 74.38 kB / 0.7048 GB, free: 14.64 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/0.4572, allocations: 0.8504 MB / 0.7057 GB, free: 14.1 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.4572, allocations: 5.594 kB / 0.7057 GB, free: 14.1 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.4572, allocations: 0 / 0.7057 GB, free: 14.1 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.4572, allocations: 3.984 kB / 0.7057 GB, free: 14.09 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007654/0.458, allocations: 438.2 kB / 0.7061 GB, free: 13.77 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.458, allocations: 0 / 0.7061 GB, free: 13.77 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002785/0.4583, allocations: 102.6 kB / 0.7062 GB, free: 13.73 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003059/0.4586, allocations: 82.08 kB / 0.7063 GB, free: 13.69 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/0.4586, allocations: 10.95 kB / 0.7063 GB, free: 13.68 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002819/0.4589, allocations: 0.5717 MB / 0.7068 GB, free: 13.12 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.4589, allocations: 0 / 0.7068 GB, free: 13.12 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/0.4603, allocations: 0.8638 MB / 0.7077 GB, free: 12.65 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001906/0.4605, allocations: 103.2 kB / 0.7078 GB, free: 12.57 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.935e-05/0.4606, allocations: 10.84 kB / 0.7078 GB, free: 12.57 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/0.4608, allocations: 59.78 kB / 0.7078 GB, free: 12.54 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.4609, allocations: 63.25 kB / 0.7079 GB, free: 12.49 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/0.4609, allocations: 8.312 kB / 0.7079 GB, free: 12.49 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0003605/0.4613, allocations: 437.7 kB / 0.7083 GB, free: 12.24 MB / 0.573 GB Notification: Performance of sort global known variables: time 7e-08/0.4613, allocations: 4 kB / 0.7083 GB, free: 12.24 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0005302/0.4618, allocations: 207.8 kB / 0.7085 GB, free: 12.19 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (adiabaticFilter.dp) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,power.T_start,power.count,massFlowRate.T_start,massFlowRate.count) * Number of discrete states: 2 (power.count,massFlowRate.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002002/0.4638, allocations: 1.633 MB / 0.7101 GB, free: 11.11 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001142/0.465, allocations: 0.6744 MB / 0.7108 GB, free: 10.68 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.465, allocations: 6.344 kB / 0.7108 GB, free: 10.68 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004997/0.4655, allocations: 256.2 kB / 0.711 GB, free: 10.57 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009797/0.4665, allocations: 325.4 kB / 0.7113 GB, free: 10.41 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008095/0.4745, allocations: 5.646 MB / 0.7169 GB, free: 6.801 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.4748, allocations: 293.4 kB / 0.7171 GB, free: 6.621 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0006454/0.4755, allocations: 118 kB / 0.7172 GB, free: 6.566 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007259/0.4762, allocations: 254.9 kB / 0.7175 GB, free: 6.359 MB / 0.573 GB Notification: Performance of SimCode: time 1.082e-06/0.4762, allocations: 0 / 0.7175 GB, free: 6.359 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04661/0.5228, allocations: 22.8 MB / 0.7398 GB, free: 8.207 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.712/9.235, allocations: 8.062 kB / 0.7398 GB, free: 8.199 MB / 0.5886 GB " [Timeout remaining time 651] (rm -f ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3_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_Warnings3.fmu > ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 12.071214482188225] Failed to read output from testmodel.py, exit status != 0: 9.335310469381511 9.343920046 8.904646684 Calling exit ...