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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.006765/0.006765, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7633/0.7633, allocations: 135.2 MB / 151 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.617/1.617, allocations: 223.2 MB / 406.8 MB, free: 3.223 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 99.61 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004945/0.0004945, allocations: 12 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5572/0.5578, allocations: 82.3 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9761/1.534, allocations: 388.1 MB / 1.029 GB, free: 1.863 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004491/1.534, allocations: 93.77 kB / 1.029 GB, free: 1.816 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.167/4.702, allocations: 0.8122 GB / 1.841 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.264e-06/4.702, allocations: 0 / 1.841 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002444/4.702, allocations: 60.14 kB / 1.841 GB, free: 0.5547 MB / 0.698 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.5544/5.257, allocations: 2.57 MB / 1.843 GB, free: 69.99 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.244e-05/5.257, allocations: 8.75 kB / 1.843 GB, free: 69.99 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000902/5.258, allocations: 200.8 kB / 1.844 GB, free: 69.95 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001491/5.259, allocations: 265.4 kB / 1.844 GB, free: 69.83 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05238/5.311, allocations: 24.86 MB / 1.868 GB, free: 68.76 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.469e-05/5.312, allocations: 105.8 kB / 1.868 GB, free: 68.76 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002313/5.312, allocations: 138.3 kB / 1.868 GB, free: 68.76 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002709/5.315, allocations: 1.489 MB / 1.87 GB, free: 68.53 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.852e-05/5.315, allocations: 6.344 kB / 1.87 GB, free: 68.53 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001254/5.315, allocations: 59.28 kB / 1.87 GB, free: 68.53 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.442e-05/5.315, allocations: 40.86 kB / 1.87 GB, free: 68.53 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002045/5.317, allocations: 1.114 MB / 1.871 GB, free: 68.51 MB / 0.698 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.009209/5.326, allocations: 7.561 MB / 1.878 GB, free: 64.37 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000958/5.327, allocations: 0.5084 MB / 1.879 GB, free: 64.34 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006912/5.328, allocations: 1.157 MB / 1.88 GB, free: 63.03 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/5.328, allocations: 46.86 kB / 1.88 GB, free: 62.99 MB / 0.698 GB Notification: Performance of pre-optimization done (n=59): time 3.837e-06/5.328, allocations: 0 / 1.88 GB, free: 62.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=59): time 0.00225/5.33, allocations: 1.046 MB / 1.881 GB, free: 62.85 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/5.33, allocations: 60.67 kB / 1.881 GB, free: 62.79 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001981/5.332, allocations: 1.545 MB / 1.883 GB, free: 62.59 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001253/5.332, allocations: 43.17 kB / 1.883 GB, free: 62.55 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000656/5.333, allocations: 0.9449 MB / 1.884 GB, free: 62.31 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002047/5.333, allocations: 217 kB / 1.884 GB, free: 62.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.504e-05/5.333, allocations: 17.97 kB / 1.884 GB, free: 62.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.118e-05/5.333, allocations: 339.6 kB / 1.884 GB, free: 61.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005779/5.334, allocations: 306.5 kB / 1.884 GB, free: 61.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007613/5.335, allocations: 0.6778 MB / 1.885 GB, free: 61.46 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006982/5.335, allocations: 417.9 kB / 1.885 GB, free: 61.46 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/5.335, allocations: 9.375 kB / 1.885 GB, free: 61.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.00243/5.338, allocations: 1.127 MB / 1.887 GB, free: 61.32 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.147e-05/5.338, allocations: 13.75 kB / 1.887 GB, free: 61.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.999e-05/5.338, allocations: 12.86 kB / 1.887 GB, free: 61.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.407e-05/5.338, allocations: 15.66 kB / 1.887 GB, free: 61.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007412/5.339, allocations: 228.5 kB / 1.887 GB, free: 61.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.034e-05/5.339, allocations: 24.97 kB / 1.887 GB, free: 61.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002358/5.341, allocations: 238.6 kB / 1.887 GB, free: 61.28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/5.341, allocations: 47.56 kB / 1.887 GB, free: 61.28 MB / 0.698 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 (111): * Single equations (assignments): 111 * 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.001006/5.342, allocations: 437.8 kB / 1.888 GB, free: 61.16 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004128/5.343, allocations: 192.8 kB / 1.888 GB, free: 61.07 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001822/5.344, allocations: 0.9248 MB / 1.889 GB, free: 60.99 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/5.344, allocations: 13.86 kB / 1.889 GB, free: 60.98 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/5.344, allocations: 0 / 1.889 GB, free: 60.98 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00115/5.346, allocations: 0.8486 MB / 1.889 GB, free: 60.72 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004616/5.35, allocations: 2.512 MB / 1.892 GB, free: 60.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/5.35, allocations: 3.344 kB / 1.892 GB, free: 60.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006809/5.351, allocations: 181.8 kB / 1.892 GB, free: 60.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.738e-06/5.351, allocations: 3.938 kB / 1.892 GB, free: 60.29 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.499e-05/5.351, allocations: 24.55 kB / 1.892 GB, free: 60.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/5.351, allocations: 3.219 kB / 1.892 GB, free: 60.29 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/5.351, allocations: 6.875 kB / 1.892 GB, free: 60.29 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002379/5.353, allocations: 1.597 MB / 1.894 GB, free: 59.77 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001212/5.355, allocations: 398.1 kB / 1.894 GB, free: 59.57 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002961/5.355, allocations: 14.88 kB / 1.894 GB, free: 59.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001337/5.356, allocations: 132.7 kB / 1.894 GB, free: 59.57 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001701/5.356, allocations: 50.06 kB / 1.894 GB, free: 59.56 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.7e-05/5.357, allocations: 34.33 kB / 1.894 GB, free: 59.56 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002382/5.359, allocations: 1.234 MB / 1.896 GB, free: 59.42 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.91e-07/5.359, allocations: 0 / 1.896 GB, free: 59.42 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003846/5.363, allocations: 0.6927 MB / 1.896 GB, free: 59.37 MB / 0.698 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.004926/5.368, allocations: 3.49 MB / 1.9 GB, free: 57.76 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001647/5.369, allocations: 0.796 MB / 1.9 GB, free: 57.75 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/5.369, allocations: 0 / 1.9 GB, free: 57.75 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006302/5.37, allocations: 385.6 kB / 1.901 GB, free: 57.75 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006069/5.376, allocations: 1.244 MB / 1.902 GB, free: 57.74 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02205/5.398, allocations: 17.81 MB / 1.919 GB, free: 46.43 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00117/5.399, allocations: 1.447 MB / 1.921 GB, free: 45.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002709/5.402, allocations: 391.4 kB / 1.921 GB, free: 45.68 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001376/5.404, allocations: 0.7597 MB / 1.922 GB, free: 45.67 MB / 0.698 GB Notification: Performance of SimCode: time 1.633e-06/5.404, allocations: 2.906 kB / 1.922 GB, free: 45.67 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1042/5.508, allocations: 63.13 MB / 1.984 GB, free: 42.52 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001625/5.508, allocations: 223 kB / 1.984 GB, free: 42.28 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.18/9.688, allocations: 0 / 1.984 GB, free: 42.28 MB / 0.698 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)