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.001373/0.001373, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001524/0.001524, allocations: 218.9 kB / 23.03 MB, free: 4.945 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.847/0.847, allocations: 134 MB / 447.2 MB, free: 9.926 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.002073/0.002073, allocations: 61.88 kB / 0.6193 GB, free: 6.879 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1876, allocations: 85.91 MB / 0.7031 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04538/0.2329, allocations: 38.36 MB / 0.7406 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01587/0.2488, allocations: 9.616 MB / 0.75 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001886/0.2507, allocations: 75.38 kB / 0.7501 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001891/0.2526, allocations: 0.6365 MB / 0.7507 GB, free: 220 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.4065/0.659, allocations: 1.994 MB / 0.7526 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003643/0.6627, allocations: 1.228 MB / 0.7538 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006578/0.6693, allocations: 3.479 MB / 0.7572 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002129/0.6714, allocations: 0.8129 MB / 0.758 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004464/0.6759, allocations: 1.306 MB / 0.7593 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002584/0.6784, allocations: 0.9375 MB / 0.7602 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004427/0.6789, allocations: 101.2 kB / 0.7603 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003477/0.6824, allocations: 0.7194 MB / 0.761 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0008199/0.6832, allocations: 299.1 kB / 0.7613 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001958/0.6851, allocations: 0.5041 MB / 0.7618 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00626/0.6914, allocations: 1.964 MB / 0.7637 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.155e-05/0.6914, allocations: 2.75 kB / 0.7637 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.236e-06/0.6914, allocations: 0 / 0.7637 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001073/0.6915, allocations: 4 kB / 0.7637 GB, free: 4.328 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.004841/0.6964, allocations: 1.473 MB / 0.7652 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.88e-05/0.6964, allocations: 10.03 kB / 0.7652 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.215e-05/0.6965, allocations: 22.09 kB / 0.7652 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002285/0.6967, allocations: 113.2 kB / 0.7653 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006587/0.6974, allocations: 140 kB / 0.7654 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002762/0.7001, allocations: 1.051 MB / 0.7665 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.489e-05/0.7002, allocations: 53.23 kB / 0.7665 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001764/0.7004, allocations: 75.11 kB / 0.7666 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001836/0.7022, allocations: 0.9493 MB / 0.7675 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.084e-05/0.7022, allocations: 3.953 kB / 0.7675 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.141e-05/0.7023, allocations: 27.81 kB / 0.7675 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.285e-05/0.7024, allocations: 23.33 kB / 0.7676 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/0.7036, allocations: 0.5704 MB / 0.7681 GB, free: 2.84 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.004728/0.7083, allocations: 2.738 MB / 0.7708 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006309/0.709, allocations: 241.6 kB / 0.771 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003624/0.7093, allocations: 164 kB / 0.7712 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002754/0.7096, allocations: 70.2 kB / 0.7712 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.7096, allocations: 38.28 kB / 0.7713 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 2.274e-06/0.7096, allocations: 1.625 kB / 0.7713 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001421/0.7111, allocations: 0.5143 MB / 0.7718 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.7111, allocations: 60.31 kB / 0.7718 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001462/0.7125, allocations: 0.9499 MB / 0.7728 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.817e-05/0.7126, allocations: 32.52 kB / 0.7728 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003722/0.713, allocations: 0.5006 MB / 0.7733 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001619/0.7132, allocations: 120.6 kB / 0.7734 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/0.7134, allocations: 117.1 kB / 0.7735 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.93e-05/0.7134, allocations: 328.4 kB / 0.7738 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003644/0.7138, allocations: 165.1 kB / 0.774 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004978/0.7143, allocations: 0.4993 MB / 0.7745 GB, free: 296 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000807/0.7151, allocations: 0.5106 MB / 0.775 GB, free: 100 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.7151, allocations: 1.031 kB / 0.775 GB, free: 100 kB / 0.5606 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001382/0.7165, allocations: 0.6217 MB / 0.7756 GB, free: 0 / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.7165, allocations: 7.531 kB / 0.7756 GB, free: 0 / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.7165, allocations: 6.031 kB / 0.7756 GB, free: 0 / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.706e-05/0.7165, allocations: 7.812 kB / 0.7756 GB, free: 0 / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004683/0.717, allocations: 125.8 kB / 0.7757 GB, free: 0 / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.676e-05/0.717, allocations: 9.391 kB / 0.7757 GB, free: 0 / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.718, allocations: 91.39 kB / 0.7758 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.285e-05/0.7181, allocations: 30.77 kB / 0.7758 GB, free: 15.95 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.000576/0.7187, allocations: 279.4 kB / 0.7761 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003697/0.7191, allocations: 105.9 kB / 0.7762 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001166/0.7202, allocations: 486.8 kB / 0.7767 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/0.7202, allocations: 4.312 kB / 0.7767 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.7203, allocations: 0 / 0.7767 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008049/0.7211, allocations: 459.6 kB / 0.7771 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002804/0.7239, allocations: 1.244 MB / 0.7783 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/0.7239, allocations: 2 kB / 0.7783 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003706/0.7242, allocations: 80.48 kB / 0.7784 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.12e-05/0.7243, allocations: 2.188 kB / 0.7784 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/0.7243, allocations: 7.719 kB / 0.7784 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.706e-06/0.7243, allocations: 8.562 kB / 0.7784 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.7243, allocations: 5.188 kB / 0.7784 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00166/0.726, allocations: 0.7755 MB / 0.7792 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006602/0.7266, allocations: 158.3 kB / 0.7793 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003772/0.727, allocations: 10.25 kB / 0.7794 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000752/0.7277, allocations: 34.48 kB / 0.7794 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.498e-05/0.7278, allocations: 26.83 kB / 0.7794 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.109e-05/0.7279, allocations: 20.27 kB / 0.7794 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001365/0.7293, allocations: 0.6615 MB / 0.7801 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.7293, allocations: 0 / 0.7801 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001791/0.7311, allocations: 344.7 kB / 0.7804 GB, free: 14.52 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.003106/0.7342, allocations: 1.585 MB / 0.782 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001265/0.7354, allocations: 410.5 kB / 0.7823 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/0.7354, allocations: 1.344 kB / 0.7823 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004833/0.7359, allocations: 184.3 kB / 0.7825 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004367/0.7403, allocations: 0.6125 MB / 0.7831 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01467/0.755, allocations: 6.853 MB / 0.7898 GB, free: 9.57 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005187/0.7555, allocations: 451.8 kB / 0.7902 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009852/0.7565, allocations: 188.5 kB / 0.7904 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005936/0.7571, allocations: 375.5 kB / 0.7908 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of SimCode: time 9.71e-07/0.7571, allocations: 2.656 kB / 0.7908 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07259/0.8297, allocations: 32.23 MB / 0.8223 GB, free: 0.6289 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.46/14.29, allocations: 11.5 kB / 0.8223 GB, free: 0.6211 MB / 0.5919 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.0674922040198] Failed to read output from testmodel.py, exit status != 0: 14.479462923947722 14.504706685 13.808347436 Calling exit ...