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.001146/0.001145, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.001418/0.001418, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 223.3 MB / 240 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.939/0.939, allocations: 135.3 MB / 426.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003238/0.0003238, allocations: 8 kB / 0.5071 GB, free: 4.996 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.1868, allocations: 82.32 MB / 0.5875 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.382/0.5689, allocations: 71.12 MB / 0.6569 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02138/0.5903, allocations: 17.69 MB / 0.6742 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003575/0.5939, allocations: 94.34 kB / 0.6743 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003011/0.597, allocations: 0.8756 MB / 0.6751 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.009294/0.6063, allocations: 2.836 MB / 0.6779 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005248/0.6115, allocations: 1.487 MB / 0.6794 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01494/0.6265, allocations: 7.568 MB / 0.6868 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003456/0.63, allocations: 1.457 MB / 0.6882 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005523/0.6355, allocations: 1.87 MB / 0.69 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004214/0.6398, allocations: 1.603 MB / 0.6916 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005187/0.6403, allocations: 74.44 kB / 0.6916 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004334/0.6447, allocations: 0.8868 MB / 0.6925 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006087/0.6453, allocations: 396.6 kB / 0.6929 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009858/0.6463, allocations: 493.7 kB / 0.6934 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0039/0.6502, allocations: 2.673 MB / 0.696 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.6502, allocations: 4 kB / 0.696 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.304e-06/0.6502, allocations: 0 / 0.696 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.929e-05/0.6503, allocations: 0 / 0.696 GB, free: 3.633 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.004278/0.6545, allocations: 2.312 MB / 0.6982 GB, free: 2.184 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.6546, allocations: 9.5 kB / 0.6982 GB, free: 2.184 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002748/0.6549, allocations: 202.5 kB / 0.6984 GB, free: 2.055 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000645/0.6555, allocations: 266.1 kB / 0.6987 GB, free: 1.93 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003173/0.6587, allocations: 1.914 MB / 0.7006 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.733e-05/0.6588, allocations: 112.8 kB / 0.7007 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002/0.659, allocations: 139.1 kB / 0.7008 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002863/0.6619, allocations: 1.527 MB / 0.7023 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.308e-05/0.6619, allocations: 1.562 kB / 0.7023 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/0.6621, allocations: 57.09 kB / 0.7023 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.103e-05/0.6621, allocations: 45.3 kB / 0.7024 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002418/0.6646, allocations: 1.157 MB / 0.7035 GB, free: 15.11 MB / 0.5294 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.009245/0.6738, allocations: 7.592 MB / 0.7109 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009949/0.6748, allocations: 490.7 kB / 0.7114 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007022/0.6756, allocations: 354.1 kB / 0.7117 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009645/0.6765, allocations: 1.16 MB / 0.7129 GB, free: 6.523 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.947e-05/0.6766, allocations: 43.31 kB / 0.7129 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=59): time 2.575e-06/0.6766, allocations: 0 / 0.7129 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of matching and sorting (n=59): time 0.00246/0.6791, allocations: 1.019 MB / 0.7139 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.6792, allocations: 58.25 kB / 0.714 GB, free: 5.934 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002312/0.6815, allocations: 1.734 MB / 0.7157 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.996e-05/0.6816, allocations: 44.36 kB / 0.7157 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007849/0.6824, allocations: 0.9299 MB / 0.7166 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002453/0.6826, allocations: 217.8 kB / 0.7168 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.422e-05/0.6827, allocations: 28.06 kB / 0.7168 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.6828, allocations: 347.6 kB / 0.7172 GB, free: 3.551 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007036/0.6835, allocations: 348.3 kB / 0.7175 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/0.6846, allocations: 0.7064 MB / 0.7182 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000906/0.6855, allocations: 458.4 kB / 0.7186 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.812e-06/0.6855, allocations: 6.688 kB / 0.7186 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002364/0.6879, allocations: 1.26 MB / 0.7199 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.6879, allocations: 9.938 kB / 0.7199 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.6879, allocations: 9.031 kB / 0.7199 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.304e-05/0.688, allocations: 22.73 kB / 0.7199 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/0.689, allocations: 324.7 kB / 0.7202 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-05/0.6891, allocations: 18.84 kB / 0.7202 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001913/0.691, allocations: 244.6 kB / 0.7205 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.6911, allocations: 52.83 kB / 0.7205 GB, free: 1.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.0009365/0.692, allocations: 438.1 kB / 0.7209 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002417/0.6923, allocations: 199.1 kB / 0.7211 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001717/0.694, allocations: 0.9051 MB / 0.722 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.82e-05/0.694, allocations: 10.72 kB / 0.722 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.6941, allocations: 0 / 0.722 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001337/0.6954, allocations: 0.8301 MB / 0.7228 GB, free: 260 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004397/0.6998, allocations: 2.473 MB / 0.7252 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.6998, allocations: 7.984 kB / 0.7253 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007729/0.7006, allocations: 208 kB / 0.7255 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-05/0.7006, allocations: 7.984 kB / 0.7255 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.488e-05/0.7007, allocations: 20 kB / 0.7255 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.693e-06/0.7007, allocations: 4 kB / 0.7255 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.7007, allocations: 7.938 kB / 0.7255 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002316/0.703, allocations: 1.398 MB / 0.7269 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007933/0.7038, allocations: 398.4 kB / 0.7272 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002084/0.7041, allocations: 12 kB / 0.7272 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/0.7051, allocations: 131.6 kB / 0.7274 GB, free: 11.85 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.7053, allocations: 56.39 kB / 0.7274 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.694e-05/0.7053, allocations: 35.97 kB / 0.7275 GB, free: 11.76 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0017/0.7071, allocations: 1.2 MB / 0.7286 GB, free: 10.54 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7071, allocations: 0 / 0.7286 GB, free: 10.54 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001884/0.709, allocations: 0.6318 MB / 0.7292 GB, free: 9.906 MB / 0.545 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.003607/0.7126, allocations: 2.4 MB / 0.7316 GB, free: 7.473 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001717/0.7143, allocations: 0.8547 MB / 0.7324 GB, free: 6.617 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.7143, allocations: 0 / 0.7324 GB, free: 6.617 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007433/0.7151, allocations: 376.4 kB / 0.7328 GB, free: 6.25 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005286/0.7204, allocations: 1.21 MB / 0.734 GB, free: 5.062 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02512/0.7455, allocations: 11.21 MB / 0.7449 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/0.7466, allocations: 1.405 MB / 0.7463 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001875/0.7485, allocations: 380.2 kB / 0.7466 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009822/0.7495, allocations: 0.7609 MB / 0.7474 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of SimCode: time 7.51e-07/0.7495, allocations: 0 / 0.7474 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08867/0.8381, allocations: 56.5 MB / 0.8026 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001689/0.8384, allocations: 224.9 kB / 0.8028 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.368/4.206, allocations: 0 / 0.8028 GB, free: 14.21 MB / 0.6231 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: