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.0008826/0.0008826, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001002/0.001002, allocations: 212.1 kB / 22.25 MB, free: 3.57 MB / 13.93 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.9627/0.9627, allocations: 230.6 MB / 256 MB, free: 9.613 MB / 202.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.6809/0.6809, allocations: 150.8 MB / 463.2 MB, free: 6.465 MB / 362.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 0.001085/0.001085, allocations: 86.59 kB / 0.6392 GB, free: 32.51 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1452, allocations: 88.06 MB / 0.7252 GB, free: 8.25 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.Isenthalpic.EnforcePressureDrop): time 0.07593/0.2211, allocations: 103.8 MB / 0.8265 GB, free: 136 kB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.3325/0.5536, allocations: 15.01 MB / 0.8412 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001442/0.5551, allocations: 114.7 kB / 0.8413 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001961/0.557, allocations: 0.8964 MB / 0.8422 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003943/0.561, allocations: 1.644 MB / 0.8438 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.01465/0.5756, allocations: 5.871 MB / 0.8495 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.004241/0.5799, allocations: 2.516 MB / 0.852 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006242/0.5805, allocations: 335.6 kB / 0.8523 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01538/0.5959, allocations: 10.75 MB / 0.8628 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001903/0.5978, allocations: 0.7655 MB / 0.8635 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0003138/0.5981, allocations: 113.2 kB / 0.8636 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01493/0.613, allocations: 7.763 MB / 0.8712 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0005972/0.6136, allocations: 296.1 kB / 0.8715 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001359/0.615, allocations: 0.6869 MB / 0.8722 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.01476/0.6298, allocations: 6.509 MB / 0.8785 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.6298, allocations: 5.594 kB / 0.8785 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.555e-06/0.6298, allocations: 0 / 0.8785 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.201e-05/0.6298, allocations: 0 / 0.8785 GB, free: 13.66 MB / 0.6511 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.00695/0.6368, allocations: 2.969 MB / 0.8814 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.052e-05/0.6369, allocations: 7.875 kB / 0.8815 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002821/0.6371, allocations: 189.5 kB / 0.8816 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001333/0.6385, allocations: 291 kB / 0.8819 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002901/0.6414, allocations: 1.129 MB / 0.883 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.79e-05/0.6415, allocations: 93.97 kB / 0.8831 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000218/0.6417, allocations: 137.3 kB / 0.8832 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003845/0.6455, allocations: 1.716 MB / 0.8849 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.138e-05/0.6456, allocations: 2.938 kB / 0.8849 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001119/0.6457, allocations: 50.97 kB / 0.885 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.896e-05/0.6457, allocations: 32.59 kB / 0.885 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002806/0.6485, allocations: 1.129 MB / 0.8861 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004716/0.6532, allocations: 4.25 MB / 0.8902 GB, free: 7.523 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001977/0.6552, allocations: 1.08 MB / 0.8913 GB, free: 7.305 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004957/0.6557, allocations: 359.9 kB / 0.8916 GB, free: 7.25 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04892/0.7046, allocations: 26.05 MB / 0.9171 GB, free: 4.043 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001569/0.7062, allocations: 0.979 MB / 0.918 GB, free: 2.984 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=101): time 3.506e-06/0.7062, allocations: 0 / 0.918 GB, free: 2.984 MB / 0.6667 GB Notification: Performance of matching and sorting (n=101): time 0.003047/0.7092, allocations: 1.577 MB / 0.9196 GB, free: 1.438 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/0.7094, allocations: 225.8 kB / 0.9198 GB, free: 1.172 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001229/0.7106, allocations: 1.13 MB / 0.9209 GB, free: 32 kB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.097e-05/0.7107, allocations: 47.78 kB / 0.9209 GB, free: 15.98 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004246/0.7111, allocations: 0.7052 MB / 0.9216 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002664/0.7114, allocations: 362.5 kB / 0.922 GB, free: 14.92 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001884/0.7116, allocations: 190.6 kB / 0.9222 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002977/0.7119, allocations: 341.9 kB / 0.9225 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005519/0.7124, allocations: 387.2 kB / 0.9229 GB, free: 14 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000629/0.713, allocations: 0.5777 MB / 0.9234 GB, free: 13.33 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/0.7142, allocations: 0.9078 MB / 0.9243 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.7142, allocations: 4.75 kB / 0.9243 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.001674/0.7159, allocations: 1.229 MB / 0.9255 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.041e-05/0.7159, allocations: 93.05 kB / 0.9256 GB, free: 11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.7159, allocations: 8.562 kB / 0.9256 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/0.716, allocations: 12 kB / 0.9256 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005148/0.7165, allocations: 250.6 kB / 0.9259 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.723e-05/0.7165, allocations: 13.47 kB / 0.9259 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006029/0.7171, allocations: 140 kB / 0.926 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-05/0.7171, allocations: 47.98 kB / 0.9261 GB, free: 10.55 MB / 0.6823 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.0005294/0.7177, allocations: 288.8 kB / 0.9263 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001952/0.7179, allocations: 174 kB / 0.9265 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002895/0.7208, allocations: 2.943 MB / 0.9294 GB, free: 7.18 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.607e-05/0.7208, allocations: 35.95 kB / 0.9294 GB, free: 7.145 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.7208, allocations: 7.938 kB / 0.9294 GB, free: 7.137 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.7208, allocations: 6.797 kB / 0.9294 GB, free: 7.133 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001691/0.7225, allocations: 1.701 MB / 0.9311 GB, free: 5.406 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.507e-05/0.7225, allocations: 5.188 kB / 0.9311 GB, free: 5.402 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004769/0.723, allocations: 205 kB / 0.9313 GB, free: 5.211 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.03e-05/0.723, allocations: 7.938 kB / 0.9313 GB, free: 5.203 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.657e-05/0.723, allocations: 31.97 kB / 0.9313 GB, free: 5.172 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.233e-06/0.7231, allocations: 11.98 kB / 0.9313 GB, free: 5.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.7231, allocations: 4 kB / 0.9313 GB, free: 5.156 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002496/0.7255, allocations: 2.072 MB / 0.9334 GB, free: 3.078 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005649/0.7261, allocations: 254.2 kB / 0.9336 GB, free: 2.828 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001974/0.7263, allocations: 111.1 kB / 0.9337 GB, free: 2.719 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003888/0.7267, allocations: 65.95 kB / 0.9338 GB, free: 2.656 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.7268, allocations: 95.45 kB / 0.9339 GB, free: 2.566 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.9e-05/0.7269, allocations: 39.92 kB / 0.9339 GB, free: 2.527 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001318/0.7282, allocations: 1.339 MB / 0.9352 GB, free: 1.172 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.01e-07/0.7282, allocations: 0 / 0.9352 GB, free: 1.172 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003867/0.7321, allocations: 1.306 MB / 0.9365 GB, free: 15.86 MB / 0.698 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.007118/0.7392, allocations: 3.999 MB / 0.9404 GB, free: 12 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001609/0.7408, allocations: 1.188 MB / 0.9415 GB, free: 10.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.7408, allocations: 0 / 0.9415 GB, free: 10.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008588/0.7416, allocations: 0.5703 MB / 0.9421 GB, free: 10.25 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002055/0.7437, allocations: 0.6901 MB / 0.9428 GB, free: 9.586 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01745/0.7612, allocations: 13.31 MB / 0.9558 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006866/0.7618, allocations: 0.8885 MB / 0.9566 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0009812/0.7628, allocations: 424.2 kB / 0.9571 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001072/0.7639, allocations: 0.8976 MB / 0.9579 GB, free: 9.73 MB / 0.7136 GB Notification: Performance of SimCode: time 1.903e-06/0.7639, allocations: 0 / 0.9579 GB, free: 9.73 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1034/0.8673, allocations: 80.03 MB / 1.036 GB, free: 10.35 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/11.35, allocations: 12 kB / 1.036 GB, free: 10.34 MB / 0.7917 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: 14.285555428825319] Failed to read output from testmodel.py, exit status != 0: 11.479268749244511 11.490166258 10.858044116 Calling exit ...