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: translateModel(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 102.2 kB / 16.4 MB, free: 5.949 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.001359/0.001359, allocations: 193 kB / 17.34 MB, free: 5.578 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.412/1.412, allocations: 222.9 MB / 241 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8524/0.8524, allocations: 135.2 MB / 426.4 MB, free: 4.043 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 63.62 kB / 0.5863 GB, free: 21.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1823, allocations: 80.93 MB / 0.6654 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.08766/0.2699, allocations: 77.28 MB / 0.7408 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4138/0.6838, allocations: 18.86 MB / 0.7592 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004789/0.6886, allocations: 110.2 kB / 0.7594 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004452/0.693, allocations: 1.305 MB / 0.7606 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01288/0.7059, allocations: 3.806 MB / 0.7643 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006327/0.7122, allocations: 2.094 MB / 0.7664 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01204/0.7243, allocations: 6.676 MB / 0.7729 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003399/0.7277, allocations: 1.715 MB / 0.7746 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006711/0.7344, allocations: 2.38 MB / 0.7769 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003855/0.7382, allocations: 1.754 MB / 0.7786 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006642/0.7389, allocations: 202.8 kB / 0.7788 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00521/0.7441, allocations: 1.623 MB / 0.7804 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000863/0.745, allocations: 0.5629 MB / 0.7809 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0031/0.7481, allocations: 1.25 MB / 0.7822 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008573/0.7567, allocations: 3.763 MB / 0.7858 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.7567, allocations: 0 / 0.7858 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.405e-06/0.7567, allocations: 1.406 kB / 0.7858 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001126/0.7568, allocations: 0 / 0.7858 GB, free: 1.121 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.006308/0.7631, allocations: 2.787 MB / 0.7886 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.7631, allocations: 14.02 kB / 0.7886 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001004/0.7641, allocations: 289.7 kB / 0.7889 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004002/0.7681, allocations: 2.033 MB / 0.7908 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.7682, allocations: 110.2 kB / 0.7909 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002213/0.7685, allocations: 147.5 kB / 0.7911 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003046/0.7715, allocations: 1.52 MB / 0.7926 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.069e-05/0.7716, allocations: 6.281 kB / 0.7926 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000148/0.7717, allocations: 58.22 kB / 0.7926 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.21e-05/0.7718, allocations: 45.33 kB / 0.7927 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002285/0.7741, allocations: 1.128 MB / 0.7938 GB, free: 13.33 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.01021/0.7843, allocations: 7.606 MB / 0.8012 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.7853, allocations: 455.7 kB / 0.8016 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006499/0.7859, allocations: 311.5 kB / 0.8019 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001039/0.787, allocations: 1.148 MB / 0.8031 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.358e-05/0.787, allocations: 40.28 kB / 0.8031 GB, free: 5.188 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=59): time 2.455e-06/0.787, allocations: 0 / 0.8031 GB, free: 5.188 MB / 0.5919 GB Notification: Performance of matching and sorting (n=59): time 0.002758/0.7898, allocations: 0.9786 MB / 0.8041 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.7898, allocations: 61.31 kB / 0.8041 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002693/0.7925, allocations: 1.786 MB / 0.8059 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001627/0.7927, allocations: 44.61 kB / 0.8059 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009542/0.7936, allocations: 0.9513 MB / 0.8068 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002786/0.7939, allocations: 226.8 kB / 0.807 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003212/0.7942, allocations: 233.5 kB / 0.8073 GB, free: 2.43 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001826/0.7944, allocations: 342.5 kB / 0.8076 GB, free: 2.098 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007125/0.7951, allocations: 329.8 kB / 0.8079 GB, free: 1.941 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/0.7962, allocations: 0.6868 MB / 0.8086 GB, free: 1.32 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001794/0.798, allocations: 1.013 MB / 0.8096 GB, free: 0.5547 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.734e-06/0.798, allocations: 2.469 kB / 0.8096 GB, free: 0.5547 MB / 0.5919 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002732/0.8007, allocations: 1.223 MB / 0.8108 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.8008, allocations: 10.84 kB / 0.8108 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.8008, allocations: 8.312 kB / 0.8108 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.348e-05/0.8008, allocations: 17.03 kB / 0.8108 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.8018, allocations: 292.4 kB / 0.8111 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.83e-05/0.8018, allocations: 29.89 kB / 0.8111 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001698/0.8035, allocations: 166.9 kB / 0.8113 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.8036, allocations: 48.12 kB / 0.8113 GB, free: 15.75 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.0009309/0.8046, allocations: 443.5 kB / 0.8117 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005386/0.8051, allocations: 200.4 kB / 0.8119 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001893/0.807, allocations: 0.8623 MB / 0.8128 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/0.807, allocations: 13.48 kB / 0.8128 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.807, allocations: 3.938 kB / 0.8128 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001357/0.8084, allocations: 0.7998 MB / 0.8136 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005081/0.8135, allocations: 2.444 MB / 0.816 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.8135, allocations: 4 kB / 0.816 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000768/0.8143, allocations: 186.8 kB / 0.8161 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.297e-06/0.8143, allocations: 5.094 kB / 0.8161 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.712e-05/0.8143, allocations: 20.52 kB / 0.8162 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/0.8143, allocations: 2.656 kB / 0.8162 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.8143, allocations: 2.938 kB / 0.8162 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002822/0.8171, allocations: 1.353 MB / 0.8175 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00101/0.8181, allocations: 374.7 kB / 0.8178 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000297/0.8184, allocations: 17.16 kB / 0.8179 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/0.8195, allocations: 65.14 kB / 0.8179 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.8196, allocations: 59.12 kB / 0.818 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.429e-05/0.8197, allocations: 36.59 kB / 0.818 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001951/0.8216, allocations: 1.241 MB / 0.8192 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8216, allocations: 0 / 0.8192 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002513/0.8241, allocations: 0.6518 MB / 0.8199 GB, free: 10.46 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.00146/0.8256, allocations: 0.6194 MB / 0.8205 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002013/0.8276, allocations: 0.7778 MB / 0.8212 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.8276, allocations: 4.062 kB / 0.8212 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000757/0.8284, allocations: 334.9 kB / 0.8215 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006087/0.8345, allocations: 1.193 MB / 0.8227 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00571/0.8402, allocations: 3.151 MB / 0.8258 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001133/0.8413, allocations: 1.388 MB / 0.8271 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005319/0.8418, allocations: 151.4 kB / 0.8273 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of SimCode: time 1.282e-06/0.8418, allocations: 4 kB / 0.8273 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of Templates: time 0.05953/0.9014, allocations: 35.25 MB / 0.8617 GB, free: 340 kB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)