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.001039/0.001039, 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.0008507/0.0008507, 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.9239/0.9239, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.6671/0.6671, allocations: 116 MB / 375.2 MB, free: 4.191 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 2.064e-06/2.064e-06, allocations: 0 / 0.5533 GB, free: 13.31 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.06e-05/2.266e-05, allocations: 6.281 kB / 0.5533 GB, free: 13.3 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.Adiabatic.Warnings3): time 0.4458/0.4458, allocations: 132.1 MB / 0.6823 GB, free: 6.434 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.004571/0.4504, allocations: 4.414 MB / 0.6866 GB, free: 6.086 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006461/0.451, allocations: 44.97 kB / 0.6866 GB, free: 6.059 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0008616/0.4519, allocations: 312.6 kB / 0.6869 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002009/0.4539, allocations: 0.8494 MB / 0.6878 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.455, allocations: 493.5 kB / 0.6882 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001339/0.4563, allocations: 1.163 MB / 0.6894 GB, free: 5.527 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002391/0.4566, allocations: 97.19 kB / 0.6895 GB, free: 5.492 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001035/0.4576, allocations: 0.6559 MB / 0.6901 GB, free: 5.402 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000438/0.458, allocations: 369.9 kB / 0.6905 GB, free: 5.359 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 6.86e-05/0.4581, allocations: 52.28 kB / 0.6905 GB, free: 5.355 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001506/0.4596, allocations: 0.7166 MB / 0.6912 GB, free: 5.285 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.4597, allocations: 130.6 kB / 0.6913 GB, free: 5.25 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002387/0.46, allocations: 242.9 kB / 0.6916 GB, free: 5.211 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001831/0.4618, allocations: 1.182 MB / 0.6927 GB, free: 5.07 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4618, allocations: 1.5 kB / 0.6927 GB, free: 5.07 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.834e-06/0.4618, allocations: 0 / 0.6927 GB, free: 5.07 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.4618, allocations: 0 / 0.6927 GB, free: 5.07 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.001817/0.4636, allocations: 1.152 MB / 0.6938 GB, free: 4.398 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.599e-05/0.4637, allocations: 9.438 kB / 0.6939 GB, free: 4.398 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.816e-05/0.4638, allocations: 86.03 kB / 0.6939 GB, free: 4.359 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001571/0.4639, allocations: 90.38 kB / 0.694 GB, free: 4.312 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008444/0.4648, allocations: 0.5385 MB / 0.6945 GB, free: 4.051 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.92e-05/0.4649, allocations: 145.6 kB / 0.6947 GB, free: 3.926 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.295e-05/0.4649, allocations: 47.91 kB / 0.6947 GB, free: 3.922 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00081/0.4657, allocations: 0.5674 MB / 0.6953 GB, free: 3.82 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.4658, allocations: 0 / 0.6953 GB, free: 3.82 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.514e-05/0.4658, allocations: 19.86 kB / 0.6953 GB, free: 3.82 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/0.4658, allocations: 13.72 kB / 0.6953 GB, free: 3.816 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009098/0.4667, allocations: 0.5186 MB / 0.6958 GB, free: 3.77 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001707/0.4684, allocations: 1.352 MB / 0.6971 GB, free: 2.957 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008875/0.4693, allocations: 483.4 kB / 0.6976 GB, free: 2.781 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003701/0.4697, allocations: 232 kB / 0.6978 GB, free: 2.711 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00034/0.47, allocations: 132.2 kB / 0.698 GB, free: 2.684 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005197/0.4706, allocations: 345.8 kB / 0.6983 GB, free: 2.531 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=47): time 2.275e-06/0.4706, allocations: 0 / 0.6983 GB, free: 2.531 MB / 0.5573 GB Notification: Performance of matching and sorting (n=48): time 0.003388/0.4739, allocations: 1.802 MB / 0.7 GB, free: 1.852 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.474, allocations: 63.44 kB / 0.7001 GB, free: 1.785 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004072/0.4744, allocations: 0.5749 MB / 0.7007 GB, free: 1.527 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.4744, allocations: 36.33 kB / 0.7007 GB, free: 1.488 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.4745, allocations: 312.9 kB / 0.701 GB, free: 1.234 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 6.211e-05/0.4746, allocations: 165.1 kB / 0.7012 GB, free: 1.105 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.324e-05/0.4747, allocations: 87.42 kB / 0.7012 GB, free: 1.055 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.604e-05/0.4747, allocations: 324.9 kB / 0.7015 GB, free: 0.7344 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00042/0.4752, allocations: 286.8 kB / 0.7018 GB, free: 0.5586 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004239/0.4756, allocations: 339 kB / 0.7021 GB, free: 348 kB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007694/0.4764, allocations: 0.5193 MB / 0.7027 GB, free: 40 kB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.4764, allocations: 0 / 0.7027 GB, free: 40 kB / 0.5573 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001155/0.4775, allocations: 0.7827 MB / 0.7034 GB, free: 15.56 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 4.865e-05/0.4776, allocations: 65.7 kB / 0.7035 GB, free: 15.49 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.4776, allocations: 1.344 kB / 0.7035 GB, free: 15.49 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003775/0.4779, allocations: 78.3 kB / 0.7036 GB, free: 15.45 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003017/0.4782, allocations: 133.8 kB / 0.7037 GB, free: 15.41 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003261/0.4786, allocations: 0.564 MB / 0.7042 GB, free: 14.86 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003027/0.4789, allocations: 59.34 kB / 0.7043 GB, free: 14.83 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.419e-05/0.4789, allocations: 27.34 kB / 0.7043 GB, free: 14.81 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.0002095/0.4791, allocations: 186.5 kB / 0.7045 GB, free: 14.65 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.864e-05/0.4792, allocations: 77.78 kB / 0.7046 GB, free: 14.61 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/0.4804, allocations: 0.8432 MB / 0.7054 GB, free: 14.07 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.4804, allocations: 9.906 kB / 0.7054 GB, free: 14.07 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.4804, allocations: 0 / 0.7054 GB, free: 14.07 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.4804, allocations: 0 / 0.7054 GB, free: 14.07 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00041/0.4808, allocations: 437.8 kB / 0.7058 GB, free: 13.74 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.4808, allocations: 0 / 0.7058 GB, free: 13.74 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002782/0.4811, allocations: 104.9 kB / 0.7059 GB, free: 13.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002946/0.4814, allocations: 75.67 kB / 0.706 GB, free: 13.67 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.427e-05/0.4814, allocations: 14.86 kB / 0.706 GB, free: 13.66 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002728/0.4817, allocations: 0.5639 MB / 0.7066 GB, free: 13.11 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.4817, allocations: 0 / 0.7066 GB, free: 13.11 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/0.4831, allocations: 0.8678 MB / 0.7074 GB, free: 12.63 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000173/0.4833, allocations: 101 kB / 0.7075 GB, free: 12.55 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.645e-05/0.4834, allocations: 16.94 kB / 0.7075 GB, free: 12.54 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002445/0.4836, allocations: 57.47 kB / 0.7076 GB, free: 12.51 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.4837, allocations: 50.39 kB / 0.7076 GB, free: 12.48 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.451e-05/0.4837, allocations: 16.3 kB / 0.7076 GB, free: 12.47 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0003472/0.4841, allocations: 437.4 kB / 0.7081 GB, free: 12.22 MB / 0.573 GB Notification: Performance of sort global known variables: time 8e-08/0.4841, allocations: 0 / 0.7081 GB, free: 12.22 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0004977/0.4846, allocations: 208.9 kB / 0.7082 GB, free: 12.17 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.002145/0.4867, allocations: 1.646 MB / 0.7099 GB, free: 11.07 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001168/0.4879, allocations: 0.6745 MB / 0.7105 GB, free: 10.66 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4879, allocations: 0 / 0.7105 GB, free: 10.66 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004906/0.4884, allocations: 255.7 kB / 0.7108 GB, free: 10.55 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009105/0.4893, allocations: 329.7 kB / 0.7111 GB, free: 10.39 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007484/0.4968, allocations: 5.646 MB / 0.7166 GB, free: 6.773 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002146/0.497, allocations: 292.9 kB / 0.7169 GB, free: 6.594 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0004994/0.4975, allocations: 115 kB / 0.717 GB, free: 6.543 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002963/0.4978, allocations: 259.3 kB / 0.7172 GB, free: 6.332 MB / 0.573 GB Notification: Performance of SimCode: time 1.794e-06/0.4978, allocations: 0 / 0.7172 GB, free: 6.332 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04509/0.5429, allocations: 22.78 MB / 0.7395 GB, free: 8.281 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.58/9.123, allocations: 7.5 kB / 0.7395 GB, free: 8.277 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: 11.934822951443493] Failed to read output from testmodel.py, exit status != 0: 9.224368683062494 9.232365927 8.768678879 Calling exit ...