Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="IDEAS_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.001515/0.001515, allocations: 99.39 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.00198/0.00198, 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.504/2.504, allocations: 223.2 MB / 239.9 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.282/1.282, allocations: 132.2 MB / 423.2 MB, free: 2.191 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005515/0.0005516, allocations: 18.33 kB / 0.5033 GB, free: 4.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9015/0.9021, allocations: 81.57 MB / 0.583 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.1247/1.027, allocations: 64.43 MB / 0.6459 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.04039/1.067, allocations: 16.21 MB / 0.6617 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007724/1.075, allocations: 91.38 kB / 0.6618 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.007789/1.083, allocations: 1.178 MB / 0.6629 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.02052/1.103, allocations: 3.523 MB / 0.6664 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01128/1.115, allocations: 2.291 MB / 0.6686 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01357/1.128, allocations: 3.864 MB / 0.6724 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004459/1.133, allocations: 1.479 MB / 0.6738 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006123/1.139, allocations: 1.65 MB / 0.6754 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00353/1.143, allocations: 1.081 MB / 0.6765 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006693/1.143, allocations: 72 kB / 0.6766 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006277/1.15, allocations: 1.01 MB / 0.6776 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001246/1.151, allocations: 374.4 kB / 0.6779 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001741/1.153, allocations: 0.4887 MB / 0.6784 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.007394/1.16, allocations: 2.642 MB / 0.681 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/1.16, allocations: 0 / 0.681 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.419e-06/1.16, allocations: 0 / 0.681 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001383/1.16, allocations: 4 kB / 0.681 GB, free: 12.01 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.00831/1.169, allocations: 2.314 MB / 0.6832 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.453e-05/1.169, allocations: 8.031 kB / 0.6832 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006954/1.169, allocations: 202.6 kB / 0.6834 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001389/1.171, allocations: 269 kB / 0.6837 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006391/1.177, allocations: 1.779 MB / 0.6854 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001586/1.177, allocations: 102.7 kB / 0.6855 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003938/1.178, allocations: 144 kB / 0.6857 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005003/1.183, allocations: 1.52 MB / 0.6872 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.923e-05/1.183, allocations: 7.859 kB / 0.6872 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002306/1.183, allocations: 63.98 kB / 0.6872 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.313e-05/1.183, allocations: 39.98 kB / 0.6873 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004247/1.188, allocations: 1.161 MB / 0.6884 GB, free: 4.203 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.01607/1.204, allocations: 7.638 MB / 0.6959 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00174/1.206, allocations: 496.6 kB / 0.6963 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001556/1.207, allocations: 1.145 MB / 0.6974 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.845e-05/1.207, allocations: 43.12 kB / 0.6975 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=59): time 4.819e-06/1.207, allocations: 0 / 0.6975 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of matching and sorting (n=59): time 0.004421/1.212, allocations: 1.024 MB / 0.6985 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.752e-05/1.212, allocations: 59.97 kB / 0.6985 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004795/1.217, allocations: 1.83 MB / 0.7003 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003123/1.217, allocations: 41.7 kB / 0.7004 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001378/1.218, allocations: 0.9355 MB / 0.7013 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005247/1.219, allocations: 220.9 kB / 0.7015 GB, free: 5.863 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.749e-05/1.219, allocations: 20 kB / 0.7015 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002165/1.219, allocations: 349.9 kB / 0.7018 GB, free: 5.496 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001315/1.221, allocations: 350.4 kB / 0.7022 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001633/1.222, allocations: 0.7055 MB / 0.7029 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001489/1.224, allocations: 458.7 kB / 0.7033 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.939e-06/1.224, allocations: 0 / 0.7033 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.004197/1.228, allocations: 1.257 MB / 0.7045 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.538e-05/1.228, allocations: 8 kB / 0.7045 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.568e-05/1.228, allocations: 12 kB / 0.7046 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.488e-05/1.228, allocations: 16 kB / 0.7046 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001879/1.23, allocations: 315.7 kB / 0.7049 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.786e-05/1.23, allocations: 23.88 kB / 0.7049 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002973/1.233, allocations: 266.2 kB / 0.7051 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001552/1.233, allocations: 51.98 kB / 0.7052 GB, free: 1.906 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.001396/1.235, allocations: 437.3 kB / 0.7056 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006251/1.235, allocations: 205.6 kB / 0.7058 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003084/1.238, allocations: 0.8988 MB / 0.7067 GB, free: 376 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-05/1.238, allocations: 8 kB / 0.7067 GB, free: 368 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.408e-05/1.238, allocations: 0 / 0.7067 GB, free: 368 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002332/1.241, allocations: 0.8386 MB / 0.7075 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007479/1.248, allocations: 2.51 MB / 0.71 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/1.248, allocations: 4 kB / 0.71 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001436/1.25, allocations: 211.8 kB / 0.7102 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.651e-05/1.25, allocations: 4 kB / 0.7102 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.267e-05/1.25, allocations: 19.98 kB / 0.7102 GB, free: 12.63 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.35e-05/1.25, allocations: 7.953 kB / 0.7102 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.25, allocations: 0 / 0.7102 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004561/1.255, allocations: 1.552 MB / 0.7117 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001609/1.256, allocations: 418.3 kB / 0.7121 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000507/1.257, allocations: 16 kB / 0.7121 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002179/1.259, allocations: 131.2 kB / 0.7123 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001701/1.259, allocations: 56.44 kB / 0.7123 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000121/1.259, allocations: 31.97 kB / 0.7123 GB, free: 10.32 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003269/1.262, allocations: 1.271 MB / 0.7136 GB, free: 9.035 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.91e-07/1.263, allocations: 0 / 0.7136 GB, free: 9.035 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003317/1.266, allocations: 0.6552 MB / 0.7142 GB, free: 8.379 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.006977/1.273, allocations: 3.088 MB / 0.7172 GB, free: 5.23 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003247/1.276, allocations: 0.8469 MB / 0.7181 GB, free: 4.383 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.168e-05/1.276, allocations: 0 / 0.7181 GB, free: 4.383 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001263/1.277, allocations: 380.4 kB / 0.7184 GB, free: 4.016 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01201/1.29, allocations: 1.196 MB / 0.7196 GB, free: 2.848 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01865/1.308, allocations: 11.54 MB / 0.7309 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00151/1.31, allocations: 1.444 MB / 0.7323 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003035/1.313, allocations: 391.9 kB / 0.7326 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00163/1.315, allocations: 0.7609 MB / 0.7334 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of SimCode: time 1.212e-06/1.315, allocations: 0 / 0.7334 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1455/1.46, allocations: 56.61 MB / 0.7887 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003113/1.46, allocations: 215 kB / 0.7889 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.355/6.815, allocations: 0 / 0.7889 GB, free: 12.27 MB / 0.6231 GB (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) Environment - environmentSimulation: