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.001492/0.001491, allocations: 174.3 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8126/0.8126, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.529/1.529, allocations: 221.3 MB / 400.4 MB, free: 5.848 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009629/0.0009629, allocations: 91.84 kB / 483.3 MB, free: 5.855 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.58e-05/4.593e-05, allocations: 4.562 kB / 0.5601 GB, free: 87.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1588, allocations: 82.31 MB / 0.6405 GB, free: 7.73 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.295/1.454, allocations: 381.6 MB / 1.013 GB, free: 240.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/1.454, allocations: 89.89 kB / 1.013 GB, free: 240.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.399/2.853, allocations: 442.9 MB / 1.446 GB, free: 66.01 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.202e-06/2.853, allocations: 0 / 1.446 GB, free: 66.01 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001651/2.853, allocations: 31.98 kB / 1.446 GB, free: 65.98 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.00303/2.856, allocations: 1.248 MB / 1.447 GB, free: 64.68 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/2.856, allocations: 12.03 kB / 1.447 GB, free: 64.67 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002593/2.856, allocations: 114.5 kB / 1.447 GB, free: 64.55 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005806/2.857, allocations: 138.4 kB / 1.447 GB, free: 64.41 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02587/2.883, allocations: 12.96 MB / 1.46 GB, free: 51.27 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.915e-05/2.883, allocations: 57.94 kB / 1.46 GB, free: 51.21 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002426/2.883, allocations: 83.91 kB / 1.46 GB, free: 51.13 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/2.885, allocations: 0.7243 MB / 1.461 GB, free: 50.37 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.867e-05/2.885, allocations: 0 / 1.461 GB, free: 50.37 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.644e-05/2.885, allocations: 28 kB / 1.461 GB, free: 50.34 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.198e-05/2.885, allocations: 24 kB / 1.461 GB, free: 50.32 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/2.886, allocations: 0.4892 MB / 1.461 GB, free: 49.83 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.00502/2.891, allocations: 3.544 MB / 1.465 GB, free: 46.06 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000576/2.892, allocations: 335.3 kB / 1.465 GB, free: 45.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002116/2.892, allocations: 167.1 kB / 1.465 GB, free: 45.54 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004959/2.892, allocations: 0.6609 MB / 1.466 GB, free: 44.73 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/2.893, allocations: 38.56 kB / 1.466 GB, free: 44.68 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 2.315e-06/2.893, allocations: 0 / 1.466 GB, free: 44.68 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31): time 0.0008593/2.893, allocations: 368.3 kB / 1.466 GB, free: 44.32 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/2.893, allocations: 55.41 kB / 1.466 GB, free: 44.25 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001449/2.895, allocations: 0.8122 MB / 1.467 GB, free: 43.42 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.708e-05/2.895, allocations: 37.64 kB / 1.467 GB, free: 43.38 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003882/2.895, allocations: 0.4995 MB / 1.468 GB, free: 42.87 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/2.896, allocations: 110.4 kB / 1.468 GB, free: 42.76 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.086e-05/2.896, allocations: 8 kB / 1.468 GB, free: 42.75 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001131/2.896, allocations: 334 kB / 1.468 GB, free: 42.42 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002117/2.896, allocations: 121.1 kB / 1.468 GB, free: 42.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003268/2.896, allocations: 339.3 kB / 1.469 GB, free: 41.88 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000295/2.897, allocations: 179.8 kB / 1.469 GB, free: 41.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/2.897, allocations: 8 kB / 1.469 GB, free: 41.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001006/2.898, allocations: 0.5314 MB / 1.469 GB, free: 41.16 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/2.898, allocations: 8 kB / 1.469 GB, free: 41.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/2.898, allocations: 4 kB / 1.469 GB, free: 41.14 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.493e-05/2.898, allocations: 8 kB / 1.469 GB, free: 41.14 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004469/2.898, allocations: 119.8 kB / 1.469 GB, free: 41.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.106e-05/2.898, allocations: 11.98 kB / 1.469 GB, free: 41.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/2.899, allocations: 103.3 kB / 1.469 GB, free: 40.91 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-05/2.899, allocations: 27.98 kB / 1.469 GB, free: 40.88 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 () * 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.0002118/2.9, allocations: 140.8 kB / 1.47 GB, free: 40.73 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003204/2.9, allocations: 106.7 kB / 1.47 GB, free: 40.63 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009664/2.901, allocations: 455.2 kB / 1.47 GB, free: 40.17 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-05/2.901, allocations: 4 kB / 1.47 GB, free: 40.17 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/2.901, allocations: 0 / 1.47 GB, free: 40.17 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005027/2.902, allocations: 409.5 kB / 1.471 GB, free: 39.74 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002745/2.904, allocations: 1.401 MB / 1.472 GB, free: 38.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/2.904, allocations: 3.938 kB / 1.472 GB, free: 38.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003487/2.905, allocations: 84.05 kB / 1.472 GB, free: 38.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.546e-05/2.905, allocations: 4 kB / 1.472 GB, free: 38.16 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.786e-05/2.905, allocations: 8 kB / 1.472 GB, free: 38.15 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/2.905, allocations: 4 kB / 1.472 GB, free: 38.15 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/2.905, allocations: 3.984 kB / 1.472 GB, free: 38.14 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/2.906, allocations: 0.7864 MB / 1.473 GB, free: 37.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006135/2.907, allocations: 243.8 kB / 1.473 GB, free: 37.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002462/2.907, allocations: 12.06 kB / 1.473 GB, free: 37.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007937/2.908, allocations: 59.78 kB / 1.473 GB, free: 36.98 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.985e-05/2.908, allocations: 27.97 kB / 1.473 GB, free: 36.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.612e-05/2.908, allocations: 19.98 kB / 1.473 GB, free: 36.93 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008692/2.909, allocations: 0.644 MB / 1.474 GB, free: 36.27 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.292e-06/2.909, allocations: 0 / 1.474 GB, free: 36.27 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00153/2.91, allocations: 363.4 kB / 1.474 GB, free: 35.92 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 () * 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.002116/2.912, allocations: 2.12 MB / 1.476 GB, free: 33.75 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005767/2.913, allocations: 355.7 kB / 1.477 GB, free: 33.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/2.913, allocations: 0 / 1.477 GB, free: 33.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002314/2.913, allocations: 167.8 kB / 1.477 GB, free: 33.23 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002798/2.916, allocations: 0.6031 MB / 1.477 GB, free: 32.64 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003009/2.919, allocations: 1.454 MB / 1.479 GB, free: 31.13 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004619/2.92, allocations: 1.06 MB / 1.48 GB, free: 30.04 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008952/2.92, allocations: 200.5 kB / 1.48 GB, free: 29.84 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004532/2.921, allocations: 383.2 kB / 1.48 GB, free: 29.46 MB / 0.6823 GB Notification: Performance of SimCode: time 1.272e-06/2.921, allocations: 0 / 1.48 GB, free: 29.46 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5015/3.422, allocations: 32.73 MB / 1.512 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001603/3.423, allocations: 191.2 kB / 1.512 GB, free: 123.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.052/6.474, allocations: 1.406 kB / 1.512 GB, free: 123.2 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)