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.007023/0.007023, allocations: 99.64 kB / 15.73 MB, free: 6.023 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.001305/0.001305, allocations: 187.2 kB / 16.67 MB, free: 5.957 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.014/1.014, allocations: 135.1 MB / 425.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 67.91 kB / 0.5852 GB, free: 3.75 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5219/0.5233, allocations: 80.91 MB / 0.6642 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07394/0.5973, allocations: 77.14 MB / 0.7395 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02763/0.625, allocations: 18.84 MB / 0.7579 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005117/0.6301, allocations: 111.4 kB / 0.758 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004219/0.6344, allocations: 1.25 MB / 0.7592 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01152/0.646, allocations: 3.626 MB / 0.7628 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006749/0.6527, allocations: 2.083 MB / 0.7648 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01147/0.6642, allocations: 6.675 MB / 0.7713 GB, free: 3.512 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003866/0.6681, allocations: 2.1 MB / 0.7734 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005733/0.6739, allocations: 2.381 MB / 0.7757 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003412/0.6773, allocations: 1.755 MB / 0.7774 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0007347/0.678, allocations: 204 kB / 0.7776 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004605/0.6827, allocations: 1.622 MB / 0.7792 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0009752/0.6837, allocations: 0.5371 MB / 0.7797 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002784/0.6865, allocations: 1.252 MB / 0.7809 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.008634/0.6951, allocations: 3.747 MB / 0.7846 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.022e-05/0.6952, allocations: 0 / 0.7846 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.625e-06/0.6952, allocations: 0 / 0.7846 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001657/0.6954, allocations: 0 / 0.7846 GB, free: 5.844 MB / 0.6075 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.007189/0.7026, allocations: 2.719 MB / 0.7873 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.7026, allocations: 12.03 kB / 0.7873 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000484/0.7031, allocations: 202.8 kB / 0.7875 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/0.7042, allocations: 265.2 kB / 0.7877 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004333/0.7085, allocations: 2.027 MB / 0.7897 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.968e-05/0.7087, allocations: 110.7 kB / 0.7898 GB, free: 400 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002697/0.7089, allocations: 140 kB / 0.7899 GB, free: 260 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003014/0.712, allocations: 1.513 MB / 0.7914 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.524e-05/0.712, allocations: 11.94 kB / 0.7914 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001345/0.7122, allocations: 52 kB / 0.7915 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.579e-05/0.7122, allocations: 47.92 kB / 0.7915 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002359/0.7146, allocations: 1.126 MB / 0.7926 GB, free: 13.42 MB / 0.6231 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.009557/0.7242, allocations: 7.587 MB / 0.8 GB, free: 5.254 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.7252, allocations: 488.5 kB / 0.8005 GB, free: 4.77 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000632/0.7259, allocations: 322.4 kB / 0.8008 GB, free: 4.453 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009147/0.7268, allocations: 1.156 MB / 0.8019 GB, free: 3.039 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.7268, allocations: 39.12 kB / 0.802 GB, free: 2.988 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=59): time 2.404e-06/0.7268, allocations: 0 / 0.802 GB, free: 2.988 MB / 0.6231 GB Notification: Performance of matching and sorting (n=59): time 0.002338/0.7292, allocations: 0.9652 MB / 0.8029 GB, free: 2.02 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.7292, allocations: 55.97 kB / 0.803 GB, free: 1.953 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002575/0.7318, allocations: 1.794 MB / 0.8047 GB, free: 124 kB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.856e-05/0.7319, allocations: 41.7 kB / 0.8048 GB, free: 76 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008281/0.7328, allocations: 0.9395 MB / 0.8057 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002336/0.733, allocations: 216.9 kB / 0.8059 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003109/0.7333, allocations: 222.7 kB / 0.8061 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.7335, allocations: 345.9 kB / 0.8064 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000709/0.7342, allocations: 334.3 kB / 0.8067 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/0.7352, allocations: 0.686 MB / 0.8074 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001629/0.7368, allocations: 1.012 MB / 0.8084 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/0.7369, allocations: 8 kB / 0.8084 GB, free: 12.03 MB / 0.6387 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002321/0.7392, allocations: 1.217 MB / 0.8096 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.7392, allocations: 8 kB / 0.8096 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.125e-05/0.7392, allocations: 16 kB / 0.8096 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.061e-05/0.7393, allocations: 16 kB / 0.8096 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/0.7403, allocations: 292.2 kB / 0.8099 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-05/0.7404, allocations: 23.92 kB / 0.8099 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/0.7416, allocations: 162.5 kB / 0.8101 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.534e-05/0.7417, allocations: 48 kB / 0.8101 GB, free: 10.25 MB / 0.6387 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.0006505/0.7423, allocations: 445.4 kB / 0.8106 GB, free: 9.801 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004236/0.7428, allocations: 189.7 kB / 0.8107 GB, free: 9.613 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001794/0.7446, allocations: 0.8688 MB / 0.8116 GB, free: 8.734 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.459e-05/0.7446, allocations: 4 kB / 0.8116 GB, free: 8.73 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.7446, allocations: 3.984 kB / 0.8116 GB, free: 8.727 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001337/0.746, allocations: 0.7956 MB / 0.8124 GB, free: 7.879 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004291/0.7503, allocations: 2.447 MB / 0.8148 GB, free: 5.348 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.7503, allocations: 4.25 kB / 0.8148 GB, free: 5.344 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000761/0.751, allocations: 179.7 kB / 0.8149 GB, free: 5.168 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.009e-05/0.7511, allocations: 4 kB / 0.8149 GB, free: 5.164 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.95e-05/0.7511, allocations: 23.98 kB / 0.815 GB, free: 5.141 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.201e-06/0.7511, allocations: 4 kB / 0.815 GB, free: 5.137 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.7511, allocations: 7.938 kB / 0.815 GB, free: 5.129 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002498/0.7537, allocations: 1.344 MB / 0.8163 GB, free: 3.746 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000711/0.7544, allocations: 362.5 kB / 0.8166 GB, free: 3.371 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003117/0.7547, allocations: 16 kB / 0.8166 GB, free: 3.355 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/0.7557, allocations: 55.92 kB / 0.8167 GB, free: 3.301 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.7559, allocations: 56.44 kB / 0.8168 GB, free: 3.242 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.395e-05/0.756, allocations: 35.97 kB / 0.8168 GB, free: 3.207 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001766/0.7577, allocations: 1.235 MB / 0.818 GB, free: 1.953 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7577, allocations: 0 / 0.818 GB, free: 1.953 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001844/0.7596, allocations: 0.659 MB / 0.8186 GB, free: 1.293 MB / 0.6387 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.004/0.7636, allocations: 2.393 MB / 0.821 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00174/0.7653, allocations: 0.816 MB / 0.8218 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.7654, allocations: 4 kB / 0.8218 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007003/0.7661, allocations: 356 kB / 0.8221 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005401/0.7715, allocations: 1.198 MB / 0.8233 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02143/0.7929, allocations: 12.56 MB / 0.8356 GB, free: 15.45 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001084/0.7941, allocations: 1.405 MB / 0.8369 GB, free: 14 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001525/0.7956, allocations: 380.3 kB / 0.8373 GB, free: 13.63 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001028/0.7966, allocations: 0.7609 MB / 0.838 GB, free: 12.87 MB / 0.67 GB Notification: Performance of SimCode: time 1.693e-06/0.7967, allocations: 4 kB / 0.838 GB, free: 12.86 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4748/1.271, allocations: 58.45 MB / 0.8951 GB, free: 170 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/12.53, allocations: 8.328 kB / 0.8951 GB, free: 170 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)