Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.001905/0.001905, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 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.002437/0.002437, allocations: 215.2 kB / 22.25 MB, free: 5.082 MB / 14.72 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 1.452/1.452, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8609/0.8609, allocations: 134 MB / 446.4 MB, free: 10.27 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 61.84 kB / 0.6186 GB, free: 7.207 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1567, allocations: 85.91 MB / 0.7025 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.05493/0.2117, allocations: 42.48 MB / 0.7439 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3595/0.5712, allocations: 10.41 MB / 0.7541 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002287/0.5734, allocations: 79.94 kB / 0.7542 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002047/0.5755, allocations: 0.6675 MB / 0.7548 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005642/0.5811, allocations: 2.02 MB / 0.7568 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003151/0.5843, allocations: 1.238 MB / 0.758 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005839/0.5901, allocations: 3.48 MB / 0.7614 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001692/0.5918, allocations: 0.8177 MB / 0.7622 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003902/0.5957, allocations: 1.281 MB / 0.7635 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002198/0.5979, allocations: 0.9425 MB / 0.7644 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003097/0.5982, allocations: 103.7 kB / 0.7645 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003278/0.6015, allocations: 0.9397 MB / 0.7654 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005586/0.6021, allocations: 294.3 kB / 0.7657 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001401/0.6035, allocations: 0.6252 MB / 0.7663 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004679/0.6081, allocations: 2.001 MB / 0.7682 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.6082, allocations: 0.5312 kB / 0.7682 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.104e-06/0.6082, allocations: 0 / 0.7682 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.266e-05/0.6082, allocations: 0.5 kB / 0.7682 GB, free: 3.605 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.004165/0.6124, allocations: 1.477 MB / 0.7697 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/0.6124, allocations: 13.03 kB / 0.7697 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001734/0.6126, allocations: 115.3 kB / 0.7698 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000529/0.6131, allocations: 143.6 kB / 0.7699 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002477/0.6156, allocations: 1.047 MB / 0.771 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.801e-05/0.6157, allocations: 53.91 kB / 0.771 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/0.6158, allocations: 76.09 kB / 0.7711 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001661/0.6175, allocations: 0.7949 MB / 0.7719 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.112e-05/0.6175, allocations: 4.922 kB / 0.7719 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.245e-05/0.6176, allocations: 28.91 kB / 0.7719 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.906e-05/0.6176, allocations: 22.38 kB / 0.7719 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.6188, allocations: 0.5688 MB / 0.7725 GB, free: 2.293 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005086/0.6239, allocations: 3.485 MB / 0.7759 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006218/0.6245, allocations: 256.2 kB / 0.7761 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003303/0.6248, allocations: 164.7 kB / 0.7763 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002806/0.6251, allocations: 55.5 kB / 0.7763 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.6252, allocations: 39.44 kB / 0.7764 GB, free: 460 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 2.335e-06/0.6252, allocations: 0 / 0.7764 GB, free: 460 kB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001355/0.6265, allocations: 0.5153 MB / 0.7769 GB, free: 372 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.6265, allocations: 56.09 kB / 0.7769 GB, free: 308 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001344/0.6279, allocations: 0.9564 MB / 0.7779 GB, free: 148 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.452e-05/0.628, allocations: 33.58 kB / 0.7779 GB, free: 116 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007734/0.6287, allocations: 0.5345 MB / 0.7784 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001862/0.6289, allocations: 116.6 kB / 0.7785 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000199/0.6291, allocations: 120.9 kB / 0.7786 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.6293, allocations: 329.1 kB / 0.779 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003901/0.6297, allocations: 164.2 kB / 0.7791 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005645/0.6302, allocations: 354 kB / 0.7794 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008812/0.6311, allocations: 0.5117 MB / 0.7799 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.6311, allocations: 1.219 kB / 0.7799 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001416/0.6325, allocations: 0.6215 MB / 0.7806 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.6326, allocations: 12.31 kB / 0.7806 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.6326, allocations: 8.969 kB / 0.7806 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-05/0.6326, allocations: 7.938 kB / 0.7806 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004602/0.6331, allocations: 123.1 kB / 0.7807 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.181e-05/0.6331, allocations: 14.84 kB / 0.7807 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009108/0.634, allocations: 91.92 kB / 0.7808 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-05/0.6341, allocations: 26.78 kB / 0.7808 GB, free: 14.42 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * 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.0005579/0.6346, allocations: 279 kB / 0.7811 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003184/0.6349, allocations: 104.1 kB / 0.7812 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001111/0.6361, allocations: 489.1 kB / 0.7817 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/0.6361, allocations: 3.188 kB / 0.7817 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.6361, allocations: 4 kB / 0.7817 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007533/0.6368, allocations: 460.1 kB / 0.7821 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003511/0.6403, allocations: 1.342 MB / 0.7834 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/0.6403, allocations: 5.844 kB / 0.7834 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003471/0.6407, allocations: 76.34 kB / 0.7835 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/0.6407, allocations: 4.031 kB / 0.7835 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.362e-05/0.6407, allocations: 10.41 kB / 0.7835 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.583e-06/0.6407, allocations: 2.438 kB / 0.7835 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.6407, allocations: 7.094 kB / 0.7835 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001535/0.6423, allocations: 0.78 MB / 0.7843 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005995/0.6429, allocations: 149.5 kB / 0.7844 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002774/0.6432, allocations: 8.094 kB / 0.7844 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006729/0.6438, allocations: 31.59 kB / 0.7845 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.2e-05/0.6439, allocations: 31.83 kB / 0.7845 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.92e-05/0.644, allocations: 15.12 kB / 0.7845 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00125/0.6452, allocations: 0.6656 MB / 0.7852 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6452, allocations: 0 / 0.7852 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001648/0.6469, allocations: 343.5 kB / 0.7855 GB, free: 12.11 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * 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.002773/0.6497, allocations: 1.593 MB / 0.787 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001086/0.6507, allocations: 401.8 kB / 0.7874 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.6507, allocations: 1.219 kB / 0.7874 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004069/0.6512, allocations: 181.3 kB / 0.7876 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003154/0.6543, allocations: 0.6051 MB / 0.7882 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01312/0.6674, allocations: 6.873 MB / 0.7949 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008877/0.6683, allocations: 1.032 MB / 0.7959 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001016/0.6693, allocations: 194.8 kB / 0.7961 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006368/0.67, allocations: 376 kB / 0.7964 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of SimCode: time 1.082e-06/0.67, allocations: 0 / 0.7964 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0791/0.7491, allocations: 30.23 MB / 0.826 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.22/13.97, allocations: 0 / 0.826 GB, free: 11.96 MB / 0.6075 GB " [Timeout remaining time 646] (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.594744357978925] Failed to read output from testmodel.py, exit status != 0: 14.092567475978285 14.115653576 13.503091047 Calling exit ...