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.001392/0.001392, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.001601/0.001601, allocations: 220.4 kB / 23.04 MB, free: 5.074 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.8275/0.8275, allocations: 134 MB / 447.2 MB, free: 10.22 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="cs",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.002012/0.002012, allocations: 61.48 kB / 0.6193 GB, free: 7.176 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.1997, allocations: 85.92 MB / 0.7032 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04711/0.2468, allocations: 42.47 MB / 0.7447 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4421/0.689, allocations: 10.42 MB / 0.7549 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002528/0.6915, allocations: 77.38 kB / 0.7549 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002355/0.6938, allocations: 0.6661 MB / 0.7556 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006993/0.7008, allocations: 2.016 MB / 0.7576 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00409/0.7049, allocations: 1.241 MB / 0.7588 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.007307/0.7122, allocations: 3.468 MB / 0.7622 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002018/0.7142, allocations: 0.8251 MB / 0.763 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004946/0.7192, allocations: 1.291 MB / 0.7642 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003255/0.7224, allocations: 0.9393 MB / 0.7651 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003897/0.7228, allocations: 100.8 kB / 0.7652 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004312/0.7271, allocations: 0.9409 MB / 0.7662 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004933/0.7276, allocations: 293.3 kB / 0.7664 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001642/0.7293, allocations: 0.63 MB / 0.7671 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00532/0.7346, allocations: 1.998 MB / 0.769 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.7346, allocations: 0 / 0.769 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.314e-06/0.7346, allocations: 0 / 0.769 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.518e-05/0.7347, allocations: 0.5625 kB / 0.769 GB, free: 3.637 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.003414/0.7381, allocations: 1.486 MB / 0.7705 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.7381, allocations: 9.781 kB / 0.7705 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.65e-05/0.7381, allocations: 18.56 kB / 0.7705 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001461/0.7383, allocations: 115.6 kB / 0.7706 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004352/0.7387, allocations: 142.8 kB / 0.7707 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002109/0.7408, allocations: 1.048 MB / 0.7718 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.264e-05/0.7409, allocations: 61.5 kB / 0.7718 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/0.741, allocations: 72.73 kB / 0.7719 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/0.7425, allocations: 0.7914 MB / 0.7727 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.58e-05/0.7425, allocations: 5.234 kB / 0.7727 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.094e-05/0.7426, allocations: 30.94 kB / 0.7727 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-05/0.7426, allocations: 21.12 kB / 0.7727 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/0.7438, allocations: 0.5641 MB / 0.7733 GB, free: 2.324 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.004559/0.7484, allocations: 3.488 MB / 0.7767 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006132/0.749, allocations: 239.9 kB / 0.7769 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003544/0.7493, allocations: 169.1 kB / 0.7771 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000281/0.7496, allocations: 65.7 kB / 0.7771 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.7496, allocations: 38.78 kB / 0.7772 GB, free: 496 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 2.535e-06/0.7496, allocations: 0 / 0.7772 GB, free: 496 kB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001324/0.751, allocations: 0.5163 MB / 0.7777 GB, free: 404 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.751, allocations: 54.97 kB / 0.7777 GB, free: 340 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/0.7522, allocations: 0.9577 MB / 0.7786 GB, free: 160 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.257e-05/0.7523, allocations: 36.36 kB / 0.7787 GB, free: 120 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007668/0.753, allocations: 0.5335 MB / 0.7792 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/0.7532, allocations: 117.7 kB / 0.7793 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001924/0.7534, allocations: 118.2 kB / 0.7794 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.7535, allocations: 334.6 kB / 0.7797 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003843/0.7539, allocations: 162.8 kB / 0.7799 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005599/0.7545, allocations: 347 kB / 0.7802 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00093/0.7554, allocations: 0.5149 MB / 0.7807 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.7554, allocations: 5.25 kB / 0.7807 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0013/0.7567, allocations: 0.6238 MB / 0.7814 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.7568, allocations: 7.906 kB / 0.7814 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.7568, allocations: 9.547 kB / 0.7814 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.554e-05/0.7568, allocations: 7.906 kB / 0.7814 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004457/0.7572, allocations: 123.3 kB / 0.7815 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/0.7573, allocations: 10.14 kB / 0.7815 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007903/0.758, allocations: 93.12 kB / 0.7816 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-05/0.7581, allocations: 26.7 kB / 0.7816 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.0004867/0.7586, allocations: 276.3 kB / 0.7819 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/0.7588, allocations: 107.9 kB / 0.782 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/0.7599, allocations: 489.8 kB / 0.7824 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/0.7599, allocations: 3.562 kB / 0.7825 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.7599, allocations: 3.938 kB / 0.7825 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007917/0.7607, allocations: 454.2 kB / 0.7829 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002403/0.7631, allocations: 1.343 MB / 0.7842 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.7631, allocations: 1.125 kB / 0.7842 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003338/0.7634, allocations: 80.66 kB / 0.7843 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.034e-05/0.7634, allocations: 8.438 kB / 0.7843 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.661e-05/0.7634, allocations: 7.719 kB / 0.7843 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.7635, allocations: 3.531 kB / 0.7843 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.7635, allocations: 3.625 kB / 0.7843 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001383/0.7648, allocations: 0.7784 MB / 0.7851 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003962/0.7652, allocations: 150 kB / 0.7852 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.7654, allocations: 9.125 kB / 0.7852 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004992/0.7659, allocations: 37.09 kB / 0.7852 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.72e-05/0.7659, allocations: 29.95 kB / 0.7853 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.171e-05/0.766, allocations: 16.59 kB / 0.7853 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009553/0.7669, allocations: 0.664 MB / 0.7859 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.7669, allocations: 1.031 kB / 0.7859 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00125/0.7682, allocations: 344.2 kB / 0.7863 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.002396/0.7706, allocations: 1.586 MB / 0.7878 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009831/0.7716, allocations: 404.6 kB / 0.7882 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.7716, allocations: 1.312 kB / 0.7882 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003802/0.7719, allocations: 183.5 kB / 0.7884 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002871/0.7748, allocations: 0.6142 MB / 0.789 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/0.7856, allocations: 6.862 MB / 0.7957 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007165/0.7863, allocations: 1.037 MB / 0.7967 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009189/0.7872, allocations: 190.4 kB / 0.7969 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005214/0.7877, allocations: 373.2 kB / 0.7972 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of SimCode: time 9.01e-07/0.7877, allocations: 4 kB / 0.7972 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06959/0.8573, allocations: 30.26 MB / 0.8268 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.4/14.26, allocations: 6.562 kB / 0.8268 GB, free: 11.87 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: 18.041373590938747] Failed to read output from testmodel.py, exit status != 0: 14.437682635965757 14.456268161 13.717829972 Calling exit ...