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.008177/0.008178, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001881/0.001882, allocations: 198.6 kB / 16.68 MB, free: 5.973 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.001/1.001, allocations: 135.5 MB / 426.1 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 63.89 kB / 0.5858 GB, free: 3.199 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4181/0.4201, allocations: 81.03 MB / 0.6649 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.08245/0.5026, allocations: 77.13 MB / 0.7402 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03108/0.5337, allocations: 18.85 MB / 0.7586 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004892/0.5386, allocations: 119.3 kB / 0.7587 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004791/0.5435, allocations: 1.246 MB / 0.7599 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01166/0.5552, allocations: 3.617 MB / 0.7635 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005717/0.5609, allocations: 2.083 MB / 0.7655 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01013/0.5711, allocations: 6.671 MB / 0.772 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004025/0.5752, allocations: 2.103 MB / 0.7741 GB, free: 0.7109 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006147/0.5813, allocations: 2.321 MB / 0.7763 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003687/0.5851, allocations: 1.763 MB / 0.7781 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0007208/0.5858, allocations: 200 kB / 0.7783 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005133/0.5909, allocations: 1.622 MB / 0.7798 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0009693/0.5919, allocations: 0.5371 MB / 0.7804 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002793/0.5948, allocations: 1.252 MB / 0.7816 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.007827/0.6026, allocations: 3.768 MB / 0.7853 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.6026, allocations: 0 / 0.7853 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.674e-06/0.6027, allocations: 0 / 0.7853 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.885e-05/0.6027, allocations: 0 / 0.7853 GB, free: 5.23 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.005495/0.6082, allocations: 2.786 MB / 0.788 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.6083, allocations: 8.031 kB / 0.788 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002697/0.6086, allocations: 202.8 kB / 0.7882 GB, free: 2.16 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007994/0.6094, allocations: 282.5 kB / 0.7885 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003759/0.6132, allocations: 2.033 MB / 0.7904 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/0.6133, allocations: 110.6 kB / 0.7906 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002263/0.6135, allocations: 147.9 kB / 0.7907 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002989/0.6165, allocations: 1.52 MB / 0.7922 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.903e-05/0.6166, allocations: 7.938 kB / 0.7922 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001378/0.6167, allocations: 60 kB / 0.7922 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-05/0.6168, allocations: 39.94 kB / 0.7923 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002504/0.6193, allocations: 1.126 MB / 0.7934 GB, free: 12.71 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.009972/0.6293, allocations: 7.612 MB / 0.8008 GB, free: 4.52 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/0.6304, allocations: 476.5 kB / 0.8013 GB, free: 4.047 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000712/0.6311, allocations: 338.3 kB / 0.8016 GB, free: 3.715 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001019/0.6322, allocations: 1.148 MB / 0.8027 GB, free: 2.309 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.428e-05/0.6322, allocations: 43.12 kB / 0.8028 GB, free: 2.254 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=59): time 2.535e-06/0.6322, allocations: 7.938 kB / 0.8028 GB, free: 2.246 MB / 0.6231 GB Notification: Performance of matching and sorting (n=59): time 0.00261/0.6349, allocations: 0.9701 MB / 0.8037 GB, free: 1.273 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.553e-05/0.6349, allocations: 59.97 kB / 0.8038 GB, free: 1.203 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002666/0.6376, allocations: 1.787 MB / 0.8055 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001272/0.6377, allocations: 45.7 kB / 0.8056 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009105/0.6387, allocations: 0.9412 MB / 0.8065 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002803/0.639, allocations: 230 kB / 0.8067 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003416/0.6393, allocations: 226.8 kB / 0.8069 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.6395, allocations: 353.9 kB / 0.8072 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000789/0.6403, allocations: 322.4 kB / 0.8076 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001184/0.6415, allocations: 0.6938 MB / 0.8082 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00192/0.6434, allocations: 1.008 MB / 0.8092 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.6435, allocations: 0 / 0.8092 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002901/0.6464, allocations: 1.231 MB / 0.8104 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.189e-05/0.6464, allocations: 19.94 kB / 0.8104 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/0.6464, allocations: 8 kB / 0.8104 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.206e-05/0.6465, allocations: 16 kB / 0.8105 GB, free: 9.992 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/0.6476, allocations: 287.5 kB / 0.8107 GB, free: 9.711 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.164e-05/0.6477, allocations: 23.88 kB / 0.8108 GB, free: 9.688 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/0.6492, allocations: 178.8 kB / 0.8109 GB, free: 9.512 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001311/0.6493, allocations: 51.98 kB / 0.811 GB, free: 9.461 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.0008427/0.6502, allocations: 434.1 kB / 0.8114 GB, free: 9.027 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004961/0.6507, allocations: 206.7 kB / 0.8116 GB, free: 8.824 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002061/0.6527, allocations: 0.861 MB / 0.8124 GB, free: 7.953 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.249e-05/0.6528, allocations: 15.94 kB / 0.8124 GB, free: 7.938 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.6528, allocations: 0 / 0.8124 GB, free: 7.938 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001539/0.6543, allocations: 0.7956 MB / 0.8132 GB, free: 7.09 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005108/0.6595, allocations: 2.451 MB / 0.8156 GB, free: 4.551 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/0.6595, allocations: 0 / 0.8156 GB, free: 4.551 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008765/0.6604, allocations: 184 kB / 0.8158 GB, free: 4.371 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.289e-05/0.6604, allocations: 4 kB / 0.8158 GB, free: 4.367 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.026e-05/0.6605, allocations: 16 kB / 0.8158 GB, free: 4.352 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.456e-06/0.6605, allocations: 4 kB / 0.8158 GB, free: 4.348 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.6605, allocations: 4 kB / 0.8158 GB, free: 4.344 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003056/0.6636, allocations: 1.349 MB / 0.8171 GB, free: 2.957 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009533/0.6646, allocations: 371.5 kB / 0.8175 GB, free: 2.574 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003336/0.6649, allocations: 12 kB / 0.8175 GB, free: 2.562 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001243/0.6662, allocations: 79.8 kB / 0.8176 GB, free: 2.484 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001751/0.6664, allocations: 52.38 kB / 0.8176 GB, free: 2.43 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/0.6665, allocations: 35.97 kB / 0.8177 GB, free: 2.395 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002525/0.669, allocations: 1.239 MB / 0.8189 GB, free: 1.137 MB / 0.6387 GB Notification: Performance of sort global known variables: time 4.71e-07/0.669, allocations: 0 / 0.8189 GB, free: 1.137 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002964/0.672, allocations: 0.6626 MB / 0.8195 GB, free: 484 kB / 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.004706/0.6767, allocations: 2.398 MB / 0.8219 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001941/0.6787, allocations: 0.8152 MB / 0.8227 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.892e-06/0.6787, allocations: 1.375 kB / 0.8227 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000798/0.6795, allocations: 355.4 kB / 0.823 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005743/0.6853, allocations: 1.21 MB / 0.8242 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02208/0.7074, allocations: 12.62 MB / 0.8365 GB, free: 14.55 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001392/0.7088, allocations: 1.405 MB / 0.8379 GB, free: 13.11 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001778/0.7106, allocations: 376.4 kB / 0.8382 GB, free: 12.74 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001319/0.712, allocations: 0.7687 MB / 0.839 GB, free: 11.97 MB / 0.67 GB Notification: Performance of SimCode: time 8.11e-07/0.712, allocations: 4 kB / 0.839 GB, free: 11.96 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4505/1.163, allocations: 57.58 MB / 0.8952 GB, free: 168 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/13.8, allocations: 5.703 kB / 0.8952 GB, free: 168 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)