Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.FourPortHeatMassExchanger,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",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.006231/0.006231, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001494/0.001494, allocations: 191.2 kB / 16.67 MB, free: 5.93 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.805/0.805, allocations: 135.1 MB / 425.7 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 71.86 kB / 0.5851 GB, free: 21.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1745, allocations: 80.92 MB / 0.6642 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04476/0.2193, allocations: 41.56 MB / 0.7047 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01612/0.2355, allocations: 10.39 MB / 0.7149 GB, free: 2.133 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00233/0.2379, allocations: 59.62 kB / 0.715 GB, free: 2.074 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002394/0.2403, allocations: 0.6482 MB / 0.7156 GB, free: 1.422 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006293/0.2467, allocations: 1.975 MB / 0.7175 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003554/0.2502, allocations: 1.188 MB / 0.7187 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005171/0.2554, allocations: 3.402 MB / 0.722 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002211/0.2576, allocations: 1.063 MB / 0.723 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003681/0.2613, allocations: 1.271 MB / 0.7243 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001801/0.2632, allocations: 0.8789 MB / 0.7251 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003889/0.2636, allocations: 100 kB / 0.7252 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002755/0.2663, allocations: 0.8656 MB / 0.7261 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004914/0.2668, allocations: 283 kB / 0.7263 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001366/0.2682, allocations: 0.626 MB / 0.727 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003691/0.2719, allocations: 1.941 MB / 0.7289 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.2719, allocations: 3.938 kB / 0.7289 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.923e-06/0.2719, allocations: 3.938 kB / 0.7289 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.429e-05/0.272, allocations: 0 / 0.7289 GB, free: 3.793 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.003375/0.2754, allocations: 1.518 MB / 0.7303 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.2754, allocations: 9.109 kB / 0.7303 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001927/0.2756, allocations: 114.7 kB / 0.7305 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004711/0.2761, allocations: 143.4 kB / 0.7306 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002015/0.2781, allocations: 1.106 MB / 0.7317 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.44e-05/0.2782, allocations: 54 kB / 0.7317 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.2783, allocations: 68 kB / 0.7318 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.2797, allocations: 0.7944 MB / 0.7326 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/0.2797, allocations: 0 / 0.7326 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.387e-05/0.2798, allocations: 28 kB / 0.7326 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.945e-05/0.2799, allocations: 16 kB / 0.7326 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/0.281, allocations: 0.5789 MB / 0.7332 GB, free: 15.23 MB / 0.5762 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.004221/0.2852, allocations: 3.544 MB / 0.7366 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005804/0.2858, allocations: 268.4 kB / 0.7369 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000336/0.2862, allocations: 174.5 kB / 0.7371 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005129/0.2867, allocations: 0.6576 MB / 0.7377 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.2867, allocations: 34.56 kB / 0.7377 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.064e-06/0.2867, allocations: 0 / 0.7377 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.0012/0.2879, allocations: 0.5158 MB / 0.7382 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.288, allocations: 67.27 kB / 0.7383 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001246/0.2893, allocations: 0.9417 MB / 0.7392 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.727e-05/0.2893, allocations: 37.7 kB / 0.7393 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004039/0.2897, allocations: 0.4957 MB / 0.7397 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.2898, allocations: 114.4 kB / 0.7399 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/0.29, allocations: 114.1 kB / 0.74 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.2901, allocations: 326 kB / 0.7403 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003443/0.2905, allocations: 161 kB / 0.7404 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004672/0.291, allocations: 354.9 kB / 0.7408 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007785/0.2918, allocations: 0.5032 MB / 0.7413 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.2918, allocations: 4 kB / 0.7413 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001159/0.2929, allocations: 0.6168 MB / 0.7419 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.293, allocations: 8 kB / 0.7419 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.293, allocations: 4.688 kB / 0.7419 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.293, allocations: 8 kB / 0.7419 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004134/0.2934, allocations: 127.8 kB / 0.742 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.411e-05/0.2935, allocations: 15.88 kB / 0.742 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005933/0.2941, allocations: 83.19 kB / 0.7421 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.594e-05/0.2941, allocations: 39.86 kB / 0.7421 GB, free: 5.441 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (65): * Single equations (assignments): 65 * 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.0003491/0.2945, allocations: 269.6 kB / 0.7424 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001912/0.2947, allocations: 102.8 kB / 0.7425 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00092/0.2956, allocations: 480.6 kB / 0.7429 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.2956, allocations: 0 / 0.7429 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.2957, allocations: 7.938 kB / 0.743 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006702/0.2963, allocations: 455 kB / 0.7434 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002051/0.2984, allocations: 1.366 MB / 0.7447 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.333e-06/0.2984, allocations: 8 kB / 0.7447 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003157/0.2987, allocations: 75.89 kB / 0.7448 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.2987, allocations: 0 / 0.7448 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.38e-05/0.2988, allocations: 12 kB / 0.7448 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.2988, allocations: 3.984 kB / 0.7448 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.2988, allocations: 4 kB / 0.7448 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.3, allocations: 0.7719 MB / 0.7456 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003243/0.3004, allocations: 219.8 kB / 0.7458 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.3005, allocations: 8 kB / 0.7458 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004931/0.301, allocations: 35.88 kB / 0.7458 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.789e-05/0.3011, allocations: 27.95 kB / 0.7459 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.882e-05/0.3011, allocations: 15.98 kB / 0.7459 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008936/0.302, allocations: 0.6628 MB / 0.7465 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3021, allocations: 0 / 0.7465 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009777/0.303, allocations: 343.5 kB / 0.7468 GB, free: 452 kB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.4008/0.7038, allocations: 1.583 MB / 0.7484 GB, free: 79.55 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001137/0.705, allocations: 418.4 kB / 0.7488 GB, free: 79.55 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.705, allocations: 5.844 kB / 0.7488 GB, free: 79.55 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004217/0.7055, allocations: 181 kB / 0.749 GB, free: 79.55 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002611/0.7081, allocations: 0.6067 MB / 0.7496 GB, free: 79.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01016/0.7182, allocations: 6.812 MB / 0.7562 GB, free: 76.51 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007728/0.7191, allocations: 1.033 MB / 0.7572 GB, free: 75.79 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001067/0.7201, allocations: 199 kB / 0.7574 GB, free: 75.77 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004783/0.7206, allocations: 371.2 kB / 0.7578 GB, free: 75.5 MB / 0.5762 GB Notification: Performance of SimCode: time 1.713e-06/0.7206, allocations: 0 / 0.7578 GB, free: 75.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07103/0.7917, allocations: 29.74 MB / 0.7868 GB, free: 60.05 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.59/10.38, allocations: 8.531 kB / 0.7868 GB, free: 60.04 MB / 0.5762 GB (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)