Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007292/0.007292, allocations: 102 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 191.5 kB / 16.67 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7642/0.7642, allocations: 135.1 MB / 425.7 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 71.55 kB / 0.5851 GB, free: 22.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1774, allocations: 80.93 MB / 0.6642 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.08388/0.2614, allocations: 77.14 MB / 0.7395 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4613/0.7227, allocations: 18.83 MB / 0.7579 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004276/0.727, allocations: 118 kB / 0.758 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003715/0.7308, allocations: 1.285 MB / 0.7593 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01258/0.7434, allocations: 3.797 MB / 0.763 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006756/0.7502, allocations: 2.097 MB / 0.765 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01251/0.7627, allocations: 6.688 MB / 0.7715 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003629/0.7664, allocations: 2.102 MB / 0.7736 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006596/0.773, allocations: 2.371 MB / 0.7759 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004172/0.7772, allocations: 1.766 MB / 0.7776 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004632/0.7776, allocations: 199.1 kB / 0.7778 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00541/0.7831, allocations: 1.62 MB / 0.7794 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006472/0.7837, allocations: 0.5387 MB / 0.7799 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001965/0.7857, allocations: 1.251 MB / 0.7812 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007014/0.7927, allocations: 3.757 MB / 0.7848 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/0.7927, allocations: 1.812 kB / 0.7848 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.184e-06/0.7927, allocations: 0 / 0.7848 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.671e-05/0.7928, allocations: 0 / 0.7848 GB, free: 0.7578 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.005163/0.798, allocations: 2.716 MB / 0.7875 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.798, allocations: 9.797 kB / 0.7875 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002301/0.7983, allocations: 203.3 kB / 0.7877 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007336/0.799, allocations: 268.3 kB / 0.7879 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003271/0.8023, allocations: 2.014 MB / 0.7899 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.341e-05/0.8024, allocations: 109.4 kB / 0.79 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002091/0.8026, allocations: 146.8 kB / 0.7901 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002564/0.8052, allocations: 1.513 MB / 0.7916 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.765e-05/0.8052, allocations: 11.05 kB / 0.7916 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/0.8054, allocations: 59.78 kB / 0.7917 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.422e-05/0.8054, allocations: 40.12 kB / 0.7917 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002008/0.8074, allocations: 1.127 MB / 0.7928 GB, free: 13.17 MB / 0.5919 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.008437/0.8159, allocations: 7.594 MB / 0.8002 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009334/0.8168, allocations: 486.2 kB / 0.8007 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005674/0.8174, allocations: 334.2 kB / 0.801 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008608/0.8183, allocations: 1.146 MB / 0.8021 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.8183, allocations: 44.28 kB / 0.8022 GB, free: 5.117 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=59): time 2.435e-06/0.8183, allocations: 4 kB / 0.8022 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of matching and sorting (n=59): time 0.002096/0.8204, allocations: 0.9625 MB / 0.8031 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.8205, allocations: 63.25 kB / 0.8032 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002143/0.8226, allocations: 1.788 MB / 0.8049 GB, free: 3.582 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.591e-05/0.8227, allocations: 43.55 kB / 0.805 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007753/0.8235, allocations: 0.9274 MB / 0.8059 GB, free: 2.723 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002169/0.8237, allocations: 219.8 kB / 0.8061 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002886/0.824, allocations: 225 kB / 0.8063 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.8242, allocations: 358.2 kB / 0.8067 GB, free: 2.062 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006145/0.8248, allocations: 324.8 kB / 0.807 GB, free: 1.91 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008986/0.8257, allocations: 0.6913 MB / 0.8076 GB, free: 1.285 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/0.8272, allocations: 1.006 MB / 0.8086 GB, free: 0.5273 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.8272, allocations: 5.375 kB / 0.8086 GB, free: 0.5273 MB / 0.5919 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002166/0.8294, allocations: 1.215 MB / 0.8098 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.8294, allocations: 15.02 kB / 0.8098 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/0.8295, allocations: 10.91 kB / 0.8098 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.993e-05/0.8295, allocations: 14.59 kB / 0.8099 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000929/0.8304, allocations: 284.9 kB / 0.8101 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.45e-05/0.8305, allocations: 21.19 kB / 0.8101 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/0.8318, allocations: 168.3 kB / 0.8103 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.562e-05/0.8319, allocations: 52.45 kB / 0.8104 GB, free: 15.73 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (135): * Single equations (assignments): 135 * 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.0008154/0.8327, allocations: 438.6 kB / 0.8108 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003159/0.833, allocations: 195.5 kB / 0.811 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001616/0.8347, allocations: 0.8618 MB / 0.8118 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/0.8347, allocations: 6.844 kB / 0.8118 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.8347, allocations: 0 / 0.8118 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001192/0.8359, allocations: 0.8083 MB / 0.8126 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003908/0.8398, allocations: 2.449 MB / 0.815 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/0.8398, allocations: 2.906 kB / 0.815 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007211/0.8406, allocations: 187.8 kB / 0.8152 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.118e-06/0.8406, allocations: 2.719 kB / 0.8152 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-05/0.8406, allocations: 16.28 kB / 0.8152 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.8407, allocations: 5.844 kB / 0.8152 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.8407, allocations: 3.984 kB / 0.8152 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002258/0.8429, allocations: 1.341 MB / 0.8165 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006761/0.8436, allocations: 363.9 kB / 0.8169 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003219/0.8439, allocations: 20.36 kB / 0.8169 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/0.845, allocations: 67.58 kB / 0.8169 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.8451, allocations: 50.44 kB / 0.817 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-05/0.8452, allocations: 39.59 kB / 0.817 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001872/0.8471, allocations: 1.237 MB / 0.8182 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8471, allocations: 6.531 kB / 0.8182 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002051/0.8491, allocations: 0.6545 MB / 0.8189 GB, free: 10.47 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.003988/0.8531, allocations: 2.386 MB / 0.8212 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001698/0.8549, allocations: 0.8164 MB / 0.822 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.8549, allocations: 0 / 0.822 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007041/0.8556, allocations: 363.5 kB / 0.8224 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004899/0.8605, allocations: 1.193 MB / 0.8235 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02042/0.8809, allocations: 12.56 MB / 0.8358 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001194/0.8822, allocations: 1.405 MB / 0.8371 GB, free: 7.398 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001558/0.8837, allocations: 375.5 kB / 0.8375 GB, free: 7.031 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00104/0.8848, allocations: 0.7687 MB / 0.8383 GB, free: 6.262 MB / 0.6231 GB Notification: Performance of SimCode: time 8.82e-07/0.8848, allocations: 0 / 0.8383 GB, free: 6.262 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.103/0.9879, allocations: 57.57 MB / 0.8945 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/12.48, allocations: 4.375 kB / 0.8945 GB, free: 13.21 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)