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.001191/0.001191, 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.001448/0.001448, 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.9301/0.9301, allocations: 177.2 MB / 202.9 MB, free: 5.711 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.6677/0.6677, allocations: 116 MB / 375.4 MB, free: 4.152 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 2.304e-06/2.304e-06, allocations: 0 / 0.5535 GB, free: 13.21 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.969e-05/2.199e-05, allocations: 2.312 kB / 0.5535 GB, free: 13.21 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Tests.Processes.Isenthalpic.EnforcePressureDrop): time 0.3553/0.3553, allocations: 102.9 MB / 0.654 GB, free: 10.86 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0128/0.3681, allocations: 15.01 MB / 0.6686 GB, free: 10.72 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001536/0.3696, allocations: 115.8 kB / 0.6687 GB, free: 10.72 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002238/0.3719, allocations: 0.921 MB / 0.6696 GB, free: 10.61 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.004826/0.3767, allocations: 1.704 MB / 0.6713 GB, free: 10.15 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.01558/0.3923, allocations: 5.954 MB / 0.6771 GB, free: 9.535 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.004363/0.3966, allocations: 2.604 MB / 0.6797 GB, free: 8.781 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008943/0.3975, allocations: 339.1 kB / 0.68 GB, free: 8.699 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01558/0.4131, allocations: 11.15 MB / 0.6909 GB, free: 5.633 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001859/0.415, allocations: 0.6297 MB / 0.6915 GB, free: 5.539 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0003387/0.4153, allocations: 116 kB / 0.6916 GB, free: 5.539 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01435/0.4297, allocations: 7.776 MB / 0.6992 GB, free: 4.629 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0005136/0.4302, allocations: 308.3 kB / 0.6995 GB, free: 4.504 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.001049/0.4312, allocations: 0.5513 MB / 0.7 GB, free: 4.379 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.01471/0.4459, allocations: 7.614 MB / 0.7075 GB, free: 0.6602 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.4459, allocations: 0 / 0.7075 GB, free: 0.6602 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4459, allocations: 0 / 0.7075 GB, free: 0.6602 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.373e-05/0.446, allocations: 0 / 0.7075 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.006472/0.4525, allocations: 2.953 MB / 0.7103 GB, free: 14.66 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.4525, allocations: 10.78 kB / 0.7103 GB, free: 14.66 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001764/0.4527, allocations: 187 kB / 0.7105 GB, free: 14.5 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006722/0.4534, allocations: 293.6 kB / 0.7108 GB, free: 14.34 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001861/0.4552, allocations: 1.225 MB / 0.712 GB, free: 13.58 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.158e-05/0.4553, allocations: 94.19 kB / 0.7121 GB, free: 13.54 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.4554, allocations: 129.4 kB / 0.7122 GB, free: 13.5 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002317/0.4577, allocations: 1.718 MB / 0.7139 GB, free: 12.27 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/0.4578, allocations: 2.906 kB / 0.7139 GB, free: 12.27 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.285e-05/0.4578, allocations: 57.67 kB / 0.7139 GB, free: 12.23 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/0.4579, allocations: 31.62 kB / 0.714 GB, free: 12.23 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00173/0.4596, allocations: 1.118 MB / 0.7151 GB, free: 11.72 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005044/0.4646, allocations: 4.294 MB / 0.7193 GB, free: 8.457 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/0.4664, allocations: 1.074 MB / 0.7203 GB, free: 7.945 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004779/0.4669, allocations: 370.5 kB / 0.7207 GB, free: 7.766 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04382/0.5107, allocations: 26.08 MB / 0.7461 GB, free: 15.62 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001556/0.5123, allocations: 0.9776 MB / 0.7471 GB, free: 14.57 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=101): time 4.248e-06/0.5123, allocations: 0 / 0.7471 GB, free: 14.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=101): time 0.002973/0.5153, allocations: 1.574 MB / 0.7486 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.226e-05/0.5154, allocations: 230.5 kB / 0.7488 GB, free: 12.73 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009988/0.5164, allocations: 1.122 MB / 0.7499 GB, free: 11.61 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.074e-05/0.5164, allocations: 53.69 kB / 0.75 GB, free: 11.55 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004211/0.5168, allocations: 0.7091 MB / 0.7507 GB, free: 10.83 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002271/0.5171, allocations: 352.6 kB / 0.751 GB, free: 10.49 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000178/0.5173, allocations: 190.6 kB / 0.7512 GB, free: 10.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.745e-05/0.5173, allocations: 341.9 kB / 0.7515 GB, free: 9.957 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004744/0.5178, allocations: 379.2 kB / 0.7519 GB, free: 9.57 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005333/0.5184, allocations: 0.5821 MB / 0.7525 GB, free: 8.902 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009723/0.5193, allocations: 0.9039 MB / 0.7533 GB, free: 7.93 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/0.5193, allocations: 4 kB / 0.7533 GB, free: 7.926 MB / 0.6042 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.00165/0.521, allocations: 1.227 MB / 0.7545 GB, free: 6.684 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.922e-05/0.521, allocations: 97.03 kB / 0.7546 GB, free: 6.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.5211, allocations: 8 kB / 0.7546 GB, free: 6.562 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.546e-05/0.5211, allocations: 12.56 kB / 0.7547 GB, free: 6.551 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004884/0.5216, allocations: 248 kB / 0.7549 GB, free: 6.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.771e-05/0.5216, allocations: 22.34 kB / 0.7549 GB, free: 6.305 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005834/0.5222, allocations: 134.7 kB / 0.755 GB, free: 6.176 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.773e-05/0.5222, allocations: 47.98 kB / 0.7551 GB, free: 6.129 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.0004313/0.5226, allocations: 293.1 kB / 0.7554 GB, free: 5.852 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/0.5228, allocations: 167 kB / 0.7555 GB, free: 5.688 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002391/0.5252, allocations: 2.961 MB / 0.7584 GB, free: 2.738 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.561e-05/0.5252, allocations: 26.22 kB / 0.7584 GB, free: 2.715 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.5252, allocations: 7.938 kB / 0.7585 GB, free: 2.707 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.5252, allocations: 7.922 kB / 0.7585 GB, free: 2.699 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001732/0.527, allocations: 1.715 MB / 0.7601 GB, free: 0.9609 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.527, allocations: 0 / 0.7601 GB, free: 0.9609 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004457/0.5274, allocations: 206.2 kB / 0.7603 GB, free: 0.7695 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.525e-06/0.5274, allocations: 4 kB / 0.7603 GB, free: 0.7656 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-05/0.5275, allocations: 35.97 kB / 0.7604 GB, free: 0.7305 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.311e-06/0.5275, allocations: 4 kB / 0.7604 GB, free: 0.7266 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.5275, allocations: 7.938 kB / 0.7604 GB, free: 0.7188 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002352/0.5298, allocations: 2.072 MB / 0.7624 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004187/0.5303, allocations: 258.3 kB / 0.7627 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001591/0.5304, allocations: 99.17 kB / 0.7627 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003762/0.5308, allocations: 72.02 kB / 0.7628 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/0.5309, allocations: 96.05 kB / 0.7629 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.806e-05/0.531, allocations: 35.97 kB / 0.7629 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001248/0.5322, allocations: 1.339 MB / 0.7642 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2e-07/0.5322, allocations: 0 / 0.7642 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003258/0.5355, allocations: 1.302 MB / 0.7655 GB, free: 11.43 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.007685/0.5432, allocations: 4.135 MB / 0.7696 GB, free: 7.434 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001856/0.545, allocations: 1.184 MB / 0.7707 GB, free: 6.223 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/0.545, allocations: 4.062 kB / 0.7707 GB, free: 6.219 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000787/0.5458, allocations: 0.5723 MB / 0.7713 GB, free: 5.672 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002238/0.548, allocations: 0.6837 MB / 0.7719 GB, free: 5.008 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01732/0.5654, allocations: 13.33 MB / 0.785 GB, free: 7.328 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006322/0.566, allocations: 0.8941 MB / 0.7858 GB, free: 6.395 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0008805/0.5669, allocations: 431.8 kB / 0.7862 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007241/0.5676, allocations: 0.8986 MB / 0.7871 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of SimCode: time 1.272e-06/0.5676, allocations: 0 / 0.7871 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1061/0.6737, allocations: 80.27 MB / 0.8655 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.847/10.52, allocations: 3.75 kB / 0.8655 GB, free: 5.555 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.333199518732727] Failed to read output from testmodel.py, exit status != 0: 10.64850146882236 10.66306942 10.213696421 Calling exit ...