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.001833/0.001834, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.007145/0.007144, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.513/2.513, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.749/1.749, allocations: 135.2 MB / 426.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005726/0.0005727, allocations: 12 kB / 0.5069 GB, free: 5.168 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3178, allocations: 82.31 MB / 0.5873 GB, free: 3.039 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.7495/1.067, allocations: 64.39 MB / 0.6502 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.04292/1.11, allocations: 16.23 MB / 0.666 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006869/1.117, allocations: 89.03 kB / 0.6661 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.007932/1.125, allocations: 1.183 MB / 0.6672 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0251/1.151, allocations: 3.521 MB / 0.6707 GB, free: 116 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01428/1.165, allocations: 2.298 MB / 0.6729 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01627/1.181, allocations: 3.852 MB / 0.6767 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006946/1.188, allocations: 1.477 MB / 0.6781 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01039/1.199, allocations: 1.64 MB / 0.6797 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006587/1.205, allocations: 1.083 MB / 0.6808 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001333/1.207, allocations: 74.41 kB / 0.6809 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01135/1.218, allocations: 1.019 MB / 0.6819 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002441/1.221, allocations: 370.6 kB / 0.6822 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.003691/1.224, allocations: 499.3 kB / 0.6827 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0123/1.237, allocations: 2.64 MB / 0.6853 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.786e-06/1.237, allocations: 0 / 0.6853 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.298e-06/1.237, allocations: 0 / 0.6853 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0002311/1.237, allocations: 1.375 kB / 0.6853 GB, free: 9.734 MB / 0.5137 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.01374/1.251, allocations: 2.315 MB / 0.6875 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 7.826e-05/1.251, allocations: 11.17 kB / 0.6875 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001522/1.253, allocations: 197.8 kB / 0.6877 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003084/1.256, allocations: 269.6 kB / 0.688 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01032/1.266, allocations: 1.783 MB / 0.6897 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004357/1.266, allocations: 109.8 kB / 0.6898 GB, free: 6.992 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00115/1.268, allocations: 144.2 kB / 0.69 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01091/1.279, allocations: 1.517 MB / 0.6914 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002445/1.279, allocations: 5.938 kB / 0.6915 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009017/1.28, allocations: 55.19 kB / 0.6915 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002026/1.28, allocations: 44.64 kB / 0.6916 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007134/1.287, allocations: 1.154 MB / 0.6927 GB, free: 5.785 MB / 0.5137 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.02317/1.311, allocations: 7.648 MB / 0.7001 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002051/1.313, allocations: 0.4911 MB / 0.7006 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001576/1.314, allocations: 1.147 MB / 0.7017 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.357e-05/1.314, allocations: 39.44 kB / 0.7018 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=59): time 6.463e-06/1.314, allocations: 0 / 0.7018 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of matching and sorting (n=59): time 0.005039/1.32, allocations: 1.03 MB / 0.7028 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.319e-05/1.32, allocations: 61.38 kB / 0.7028 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006722/1.326, allocations: 1.831 MB / 0.7046 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003614/1.327, allocations: 42.86 kB / 0.7047 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001575/1.328, allocations: 0.9272 MB / 0.7056 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005591/1.329, allocations: 221.8 kB / 0.7058 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.357e-05/1.329, allocations: 20.59 kB / 0.7058 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002569/1.329, allocations: 347.6 kB / 0.7061 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001481/1.331, allocations: 348 kB / 0.7065 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001846/1.333, allocations: 0.7021 MB / 0.7072 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001632/1.334, allocations: 462.7 kB / 0.7076 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.387e-05/1.334, allocations: 2.625 kB / 0.7076 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.004763/1.339, allocations: 1.248 MB / 0.7088 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.614e-05/1.339, allocations: 12.5 kB / 0.7088 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.113e-05/1.339, allocations: 11 kB / 0.7088 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.618e-05/1.339, allocations: 20.95 kB / 0.7089 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00183/1.341, allocations: 316.3 kB / 0.7092 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.857e-05/1.341, allocations: 27.95 kB / 0.7092 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003841/1.345, allocations: 251.3 kB / 0.7094 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002564/1.345, allocations: 49.16 kB / 0.7095 GB, free: 9.684 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001881/1.347, allocations: 443 kB / 0.7099 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007817/1.348, allocations: 193 kB / 0.7101 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002815/1.351, allocations: 0.905 MB / 0.711 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.568e-05/1.351, allocations: 18.52 kB / 0.711 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/1.351, allocations: 0 / 0.711 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002467/1.354, allocations: 0.8342 MB / 0.7118 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0117/1.365, allocations: 2.518 MB / 0.7143 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.521e-05/1.365, allocations: 2.5 kB / 0.7143 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001266/1.367, allocations: 206.2 kB / 0.7145 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.734e-05/1.367, allocations: 5.156 kB / 0.7145 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.829e-05/1.367, allocations: 15 kB / 0.7145 GB, free: 6.441 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-05/1.367, allocations: 8.938 kB / 0.7145 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.004e-05/1.367, allocations: 2.5 kB / 0.7145 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005007/1.372, allocations: 1.556 MB / 0.716 GB, free: 5.422 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0023/1.374, allocations: 427 kB / 0.7164 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009481/1.375, allocations: 14.25 kB / 0.7164 GB, free: 5.051 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002688/1.378, allocations: 128.2 kB / 0.7166 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001958/1.378, allocations: 47.7 kB / 0.7166 GB, free: 4.969 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001872/1.378, allocations: 37.12 kB / 0.7166 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004246/1.383, allocations: 1.271 MB / 0.7179 GB, free: 4.234 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.01e-07/1.383, allocations: 0.7188 kB / 0.7179 GB, free: 4.234 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004566/1.387, allocations: 0.6575 MB / 0.7185 GB, free: 4.074 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007967/1.395, allocations: 3.087 MB / 0.7215 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003189/1.398, allocations: 0.8469 MB / 0.7224 GB, free: 460 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/1.398, allocations: 7.875 kB / 0.7224 GB, free: 452 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001236/1.4, allocations: 376.4 kB / 0.7227 GB, free: 76 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01061/1.41, allocations: 1.189 MB / 0.7239 GB, free: 14.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01781/1.428, allocations: 11.55 MB / 0.7352 GB, free: 3.062 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001878/1.43, allocations: 1.444 MB / 0.7366 GB, free: 1.586 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002713/1.433, allocations: 382.8 kB / 0.7369 GB, free: 1.215 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00212/1.435, allocations: 0.7648 MB / 0.7377 GB, free: 464 kB / 0.545 GB Notification: Performance of SimCode: time 2.365e-06/1.435, allocations: 4 kB / 0.7377 GB, free: 460 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1929/1.628, allocations: 56.6 MB / 0.793 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003666/1.629, allocations: 231.7 kB / 0.7932 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.84/7.469, allocations: 0 / 0.7932 GB, free: 8.223 MB / 0.6075 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/linux/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) Environment - environmentSimulation: