Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.FourPortHeatMassExchanger,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",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.009268/0.009268, 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.7811/0.7811, 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.65/1.65, 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.0009954/0.0009953, allocations: 96.97 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004171/0.0004173, allocations: 8 kB / 0.5692 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.459/0.4594, allocations: 82.3 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8401/1.3, allocations: 381.7 MB / 1.022 GB, free: 8.441 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003561/1.3, allocations: 94.45 kB / 1.022 GB, free: 8.395 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.639/2.939, allocations: 444.2 MB / 1.456 GB, free: 125.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.254e-06/2.939, allocations: 3.25 kB / 1.456 GB, free: 125.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001061/2.939, allocations: 33.73 kB / 1.456 GB, free: 125.7 MB / 0.6823 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.002972/2.942, allocations: 1.456 MB / 1.458 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/2.942, allocations: 8.031 kB / 1.458 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000158/2.942, allocations: 121.5 kB / 1.458 GB, free: 124.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003516/2.942, allocations: 138.5 kB / 1.458 GB, free: 124 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02473/2.967, allocations: 13.05 MB / 1.471 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.699e-05/2.967, allocations: 65.03 kB / 1.471 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/2.967, allocations: 72 kB / 1.471 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/2.969, allocations: 0.7682 MB / 1.471 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/2.969, allocations: 4 kB / 1.471 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.268e-05/2.969, allocations: 35.16 kB / 1.471 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.986e-05/2.969, allocations: 19.98 kB / 1.472 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009585/2.97, allocations: 0.5611 MB / 1.472 GB, free: 109.7 MB / 0.6823 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.004047/2.974, allocations: 3.552 MB / 1.476 GB, free: 106 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006248/2.974, allocations: 375.6 kB / 1.476 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004245/2.975, allocations: 0.657 MB / 1.477 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/2.975, allocations: 40.16 kB / 1.477 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 1.874e-06/2.975, allocations: 3.188 kB / 1.477 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31): time 0.001115/2.976, allocations: 0.5655 MB / 1.477 GB, free: 104.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/2.976, allocations: 59.39 kB / 1.477 GB, free: 104.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009222/2.977, allocations: 0.8231 MB / 1.478 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.462e-05/2.977, allocations: 37.64 kB / 1.478 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003073/2.977, allocations: 0.4935 MB / 1.479 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.108e-05/2.977, allocations: 115.3 kB / 1.479 GB, free: 102.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.78e-05/2.978, allocations: 8 kB / 1.479 GB, free: 102.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.394e-05/2.978, allocations: 329 kB / 1.479 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003012/2.978, allocations: 157 kB / 1.479 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000375/2.978, allocations: 375.8 kB / 1.479 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003483/2.979, allocations: 215.9 kB / 1.48 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/2.979, allocations: 4 kB / 1.48 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009241/2.98, allocations: 0.5996 MB / 1.48 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/2.98, allocations: 5.969 kB / 1.48 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/2.98, allocations: 8 kB / 1.48 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/2.98, allocations: 11.06 kB / 1.48 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003779/2.98, allocations: 118.9 kB / 1.48 GB, free: 100.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.495e-05/2.98, allocations: 15.89 kB / 1.48 GB, free: 100.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007882/2.981, allocations: 114.6 kB / 1.481 GB, free: 100.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.957e-05/2.981, allocations: 24 kB / 1.481 GB, free: 100.6 MB / 0.6823 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 (57): * Single equations (assignments): 57 * 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.000413/2.981, allocations: 276.8 kB / 1.481 GB, free: 100.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/2.981, allocations: 98.78 kB / 1.481 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009092/2.982, allocations: 0.5099 MB / 1.481 GB, free: 99.68 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/2.982, allocations: 11.19 kB / 1.481 GB, free: 99.67 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/2.982, allocations: 0 / 1.481 GB, free: 99.67 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005904/2.983, allocations: 484.3 kB / 1.482 GB, free: 99.17 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00202/2.985, allocations: 1.449 MB / 1.483 GB, free: 97.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/2.985, allocations: 11.52 kB / 1.483 GB, free: 97.64 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003344/2.985, allocations: 83.88 kB / 1.483 GB, free: 97.55 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.635e-06/2.985, allocations: 6.281 kB / 1.483 GB, free: 97.55 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.79e-05/2.985, allocations: 8 kB / 1.483 GB, free: 97.54 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/2.985, allocations: 0 / 1.483 GB, free: 97.54 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/2.985, allocations: 4 kB / 1.483 GB, free: 97.54 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001251/2.987, allocations: 0.8936 MB / 1.484 GB, free: 96.61 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005033/2.987, allocations: 243.8 kB / 1.484 GB, free: 96.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/2.987, allocations: 11.95 kB / 1.484 GB, free: 96.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005867/2.988, allocations: 66.09 kB / 1.485 GB, free: 96.28 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.147e-05/2.988, allocations: 26.28 kB / 1.485 GB, free: 96.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-05/2.988, allocations: 15.98 kB / 1.485 GB, free: 96.24 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007843/2.989, allocations: 0.6549 MB / 1.485 GB, free: 95.57 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.272e-06/2.989, allocations: 7.875 kB / 1.485 GB, free: 95.57 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001257/2.99, allocations: 371.5 kB / 1.486 GB, free: 95.21 MB / 0.6823 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 (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.002637/2.993, allocations: 2.207 MB / 1.488 GB, free: 93.09 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008536/2.994, allocations: 428.2 kB / 1.488 GB, free: 92.68 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/2.994, allocations: 0 / 1.488 GB, free: 92.68 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003385/2.994, allocations: 202.6 kB / 1.488 GB, free: 92.48 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002573/2.997, allocations: 0.6084 MB / 1.489 GB, free: 91.92 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008722/3.005, allocations: 8.808 MB / 1.498 GB, free: 82.85 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004912/3.006, allocations: 1.06 MB / 1.499 GB, free: 81.76 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009544/3.007, allocations: 199 kB / 1.499 GB, free: 81.57 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003991/3.007, allocations: 371.3 kB / 1.499 GB, free: 81.21 MB / 0.6823 GB Notification: Performance of SimCode: time 1.353e-06/3.007, allocations: 0 / 1.499 GB, free: 81.21 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05195/3.059, allocations: 32.6 MB / 1.531 GB, free: 49.37 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/3.059, allocations: 225.9 kB / 1.531 GB, free: 49.12 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.916/5.976, allocations: 0 / 1.531 GB, free: 49.12 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)