Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Isenthalpic.EnforcePressureDrop.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.0008129/0.0008129, 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.0009318/0.0009318, 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.9232/0.9232, 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.6385/0.6385, allocations: 116 MB / 375.2 MB, free: 4.176 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.Isenthalpic.EnforcePressureDrop,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Isenthalpic_EnforcePressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Tests.Processes.Isenthalpic.EnforcePressureDrop,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Isenthalpic_EnforcePressureDrop",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.32 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.268e-05/1.404e-05, allocations: 6.219 kB / 0.5533 GB, free: 13.31 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.Isenthalpic.EnforcePressureDrop): time 0.3279/0.3279, allocations: 102.9 MB / 0.6537 GB, free: 10.76 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01268/0.3406, allocations: 15.02 MB / 0.6684 GB, free: 10.62 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008374/0.3414, allocations: 114.9 kB / 0.6685 GB, free: 10.62 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001629/0.3431, allocations: 0.9224 MB / 0.6694 GB, free: 10.5 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002738/0.3458, allocations: 1.702 MB / 0.6711 GB, free: 10.05 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.01211/0.3579, allocations: 5.961 MB / 0.6769 GB, free: 9.43 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.002852/0.3608, allocations: 2.607 MB / 0.6794 GB, free: 8.676 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004866/0.3613, allocations: 332.2 kB / 0.6797 GB, free: 8.594 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01308/0.3743, allocations: 11.16 MB / 0.6906 GB, free: 5.527 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009426/0.3753, allocations: 0.6321 MB / 0.6913 GB, free: 5.434 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.000144/0.3754, allocations: 115.6 kB / 0.6914 GB, free: 5.43 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0123/0.3877, allocations: 7.774 MB / 0.699 GB, free: 4.574 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002468/0.388, allocations: 308.2 kB / 0.6993 GB, free: 4.449 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005942/0.3886, allocations: 0.5505 MB / 0.6998 GB, free: 4.328 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.00964/0.3982, allocations: 7.613 MB / 0.7072 GB, free: 0.6602 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3982, allocations: 0 / 0.7072 GB, free: 0.6602 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3982, allocations: 0 / 0.7072 GB, free: 0.6602 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.577e-05/0.3982, allocations: 0 / 0.7072 GB, free: 0.6602 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: 321 * Number of variables: 321 Notification: Performance of Generate backend data structure: time 0.00389/0.4021, allocations: 2.954 MB / 0.7101 GB, free: 14.66 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.4022, allocations: 12.45 kB / 0.7101 GB, free: 14.65 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001425/0.4023, allocations: 184.2 kB / 0.7103 GB, free: 14.5 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000438/0.4027, allocations: 293.7 kB / 0.7106 GB, free: 14.34 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/0.404, allocations: 1.12 MB / 0.7117 GB, free: 13.58 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.525e-05/0.4041, allocations: 101.8 kB / 0.7118 GB, free: 13.54 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.4042, allocations: 123.4 kB / 0.7119 GB, free: 13.5 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001803/0.406, allocations: 1.722 MB / 0.7136 GB, free: 12.27 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.406, allocations: 3.062 kB / 0.7136 GB, free: 12.27 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.657e-05/0.4061, allocations: 53.84 kB / 0.7136 GB, free: 12.23 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/0.4061, allocations: 29.81 kB / 0.7137 GB, free: 12.23 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001543/0.4076, allocations: 1.128 MB / 0.7148 GB, free: 11.72 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003615/0.4112, allocations: 4.255 MB / 0.7189 GB, free: 8.453 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001729/0.413, allocations: 1.072 MB / 0.72 GB, free: 7.941 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000722/0.4137, allocations: 373.5 kB / 0.7203 GB, free: 7.762 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04443/0.4581, allocations: 26.04 MB / 0.7457 GB, free: 15.72 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00136/0.4595, allocations: 0.9836 MB / 0.7467 GB, free: 14.67 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=101): time 2.235e-06/0.4595, allocations: 0 / 0.7467 GB, free: 14.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=101): time 0.002611/0.4621, allocations: 1.574 MB / 0.7482 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.205e-05/0.4622, allocations: 228.1 kB / 0.7485 GB, free: 12.84 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009094/0.4631, allocations: 1.13 MB / 0.7496 GB, free: 11.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.44e-05/0.4631, allocations: 49.69 kB / 0.7496 GB, free: 11.65 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003935/0.4635, allocations: 0.7095 MB / 0.7503 GB, free: 10.93 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004201/0.4639, allocations: 348.6 kB / 0.7506 GB, free: 10.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001604/0.4641, allocations: 194.6 kB / 0.7508 GB, free: 10.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.13e-05/0.4642, allocations: 341.9 kB / 0.7511 GB, free: 10.06 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004462/0.4646, allocations: 379.2 kB / 0.7515 GB, free: 9.672 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005207/0.4652, allocations: 0.5782 MB / 0.7521 GB, free: 9.008 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009517/0.4661, allocations: 0.9093 MB / 0.753 GB, free: 8.027 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.4661, allocations: 0 / 0.753 GB, free: 8.027 MB / 0.6042 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.001264/0.4674, allocations: 1.223 MB / 0.7542 GB, free: 6.789 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.521e-05/0.4674, allocations: 101.2 kB / 0.7543 GB, free: 6.672 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.4675, allocations: 7.938 kB / 0.7543 GB, free: 6.664 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.4675, allocations: 12 kB / 0.7543 GB, free: 6.652 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004691/0.4679, allocations: 251 kB / 0.7545 GB, free: 6.426 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/0.468, allocations: 19.08 kB / 0.7545 GB, free: 6.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004759/0.4684, allocations: 135.2 kB / 0.7547 GB, free: 6.277 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.472e-05/0.4685, allocations: 43.98 kB / 0.7547 GB, free: 6.234 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 27 (p_outPulse.count,$PRE.p_outPulse.count,p_outPulse.T_start,$PRE.p_outPulse.T_start,prLossPulse.count,$PRE.prLossPulse.count,prLossPulse.T_start,$PRE.prLossPulse.T_start,dpLossPulse.count,$PRE.dpLossPulse.count,dpLossPulse.T_start,$PRE.dpLossPulse.T_start,$whenCondition1,$whenCondition2,$whenCondition3,pout1.outlet.state.phase,source5.outlet.state.phase,prLoss1.outlet.state.phase,source4.outlet.state.phase,dpLoss1.outlet.state.phase,source3.outlet.state.phase,pout.outlet.state.phase,source2.outlet.state.phase,prLoss.outlet.state.phase,source1.outlet.state.phase,dpLoss.outlet.state.phase,source.outlet.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00033/0.4688, allocations: 296.7 kB / 0.755 GB, free: 5.949 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.4689, allocations: 163 kB / 0.7551 GB, free: 5.789 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002451/0.4714, allocations: 2.966 MB / 0.758 GB, free: 2.84 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.125e-05/0.4714, allocations: 32.16 kB / 0.7581 GB, free: 2.809 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.4714, allocations: 3.938 kB / 0.7581 GB, free: 2.805 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.4714, allocations: 7.984 kB / 0.7581 GB, free: 2.797 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/0.4727, allocations: 1.71 MB / 0.7597 GB, free: 1.062 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.4727, allocations: 4 kB / 0.7598 GB, free: 1.059 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004029/0.4731, allocations: 202.5 kB / 0.7599 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.4731, allocations: 12 kB / 0.76 GB, free: 0.8594 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.877e-05/0.4731, allocations: 31.97 kB / 0.76 GB, free: 0.8281 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.4731, allocations: 4 kB / 0.76 GB, free: 0.8242 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.4731, allocations: 7.938 kB / 0.76 GB, free: 0.8164 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002008/0.4751, allocations: 2.074 MB / 0.762 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002848/0.4754, allocations: 258.2 kB / 0.7623 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/0.4756, allocations: 99.19 kB / 0.7624 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003324/0.4759, allocations: 72 kB / 0.7624 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.476, allocations: 92.34 kB / 0.7625 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.758e-05/0.4761, allocations: 39.97 kB / 0.7626 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001142/0.4772, allocations: 1.339 MB / 0.7639 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.4772, allocations: 0 / 0.7639 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003336/0.4805, allocations: 1.298 MB / 0.7651 GB, free: 11.54 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (firstOrder.y) * Number of discrete variables: 21 ($cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse17.phase,$cse17.region,$whenCondition3,$whenCondition2,$whenCondition1,dpLossPulse.T_start,dpLossPulse.count,prLossPulse.T_start,prLossPulse.count,p_outPulse.T_start,p_outPulse.count) * Number of discrete states: 3 (dpLossPulse.count,prLossPulse.count,p_outPulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004991/0.4855, allocations: 4.142 MB / 0.7692 GB, free: 7.527 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001242/0.4868, allocations: 1.184 MB / 0.7703 GB, free: 6.316 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.4868, allocations: 0 / 0.7703 GB, free: 6.316 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006333/0.4874, allocations: 0.5712 MB / 0.7709 GB, free: 5.77 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/0.489, allocations: 0.6806 MB / 0.7716 GB, free: 5.113 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01372/0.5027, allocations: 13.34 MB / 0.7846 GB, free: 7.43 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000583/0.5033, allocations: 0.8863 MB / 0.7854 GB, free: 6.504 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001029/0.5044, allocations: 442.5 kB / 0.7859 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006418/0.505, allocations: 0.9025 MB / 0.7867 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of SimCode: time 1.182e-06/0.505, allocations: 0 / 0.7867 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1025/0.6075, allocations: 80.21 MB / 0.8651 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/11.04, allocations: 4 kB / 0.8651 GB, free: 5.695 MB / 0.7136 GB " [Timeout remaining time 649] (rm -f ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Isenthalpic.EnforcePressureDrop.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Isenthalpic.EnforcePressureDrop.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Isenthalpic.EnforcePressureDrop.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Isenthalpic.EnforcePressureDrop.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Isenthalpic.EnforcePressureDrop_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_Isenthalpic_EnforcePressureDrop.fmu > ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Isenthalpic.EnforcePressureDrop.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 13.806303633376956] Failed to read output from testmodel.py, exit status != 0: 11.172983032651246 11.187192125 10.787042285 Calling exit ...