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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 175.1 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.7414/0.7414, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.645/1.645, allocations: 221.3 MB / 400.4 MB, free: 5.836 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.001009/0.001009, allocations: 86.06 kB / 483.3 MB, free: 5.852 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.536e-05/4.559e-05, allocations: 3.438 kB / 0.5601 GB, free: 87.85 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1544, allocations: 82.31 MB / 0.6405 GB, free: 7.742 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.31/1.464, allocations: 381.6 MB / 1.013 GB, free: 240.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003271/1.465, allocations: 95.2 kB / 1.013 GB, free: 240.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.554/3.019, allocations: 442.9 MB / 1.446 GB, free: 66.05 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.725e-06/3.019, allocations: 0 / 1.446 GB, free: 66.05 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002493/3.019, allocations: 39.98 kB / 1.446 GB, free: 66.02 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.004772/3.024, allocations: 1.248 MB / 1.447 GB, free: 64.72 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.213e-05/3.024, allocations: 8.031 kB / 1.447 GB, free: 64.71 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004024/3.025, allocations: 114.5 kB / 1.447 GB, free: 64.59 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009131/3.026, allocations: 138.5 kB / 1.447 GB, free: 64.45 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04696/3.072, allocations: 12.97 MB / 1.46 GB, free: 51.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/3.073, allocations: 58 kB / 1.46 GB, free: 51.25 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003726/3.073, allocations: 75.91 kB / 1.46 GB, free: 51.17 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002607/3.076, allocations: 0.7243 MB / 1.461 GB, free: 50.41 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.427e-05/3.076, allocations: 0 / 1.461 GB, free: 50.41 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001623/3.076, allocations: 36 kB / 1.461 GB, free: 50.38 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.031e-05/3.076, allocations: 16 kB / 1.461 GB, free: 50.36 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001416/3.077, allocations: 497 kB / 1.461 GB, free: 49.88 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.006335/3.084, allocations: 3.552 MB / 1.465 GB, free: 46.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005673/3.084, allocations: 333.5 kB / 1.465 GB, free: 45.74 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000223/3.085, allocations: 171.1 kB / 1.465 GB, free: 45.57 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004747/3.085, allocations: 0.6609 MB / 1.466 GB, free: 44.77 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/3.085, allocations: 42.56 kB / 1.466 GB, free: 44.71 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 2.254e-06/3.085, allocations: 0 / 1.466 GB, free: 44.71 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31): time 0.0008556/3.086, allocations: 364.3 kB / 1.466 GB, free: 44.35 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/3.086, allocations: 55.41 kB / 1.466 GB, free: 44.29 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001383/3.087, allocations: 0.8161 MB / 1.467 GB, free: 43.45 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.54e-05/3.088, allocations: 29.7 kB / 1.467 GB, free: 43.41 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003982/3.088, allocations: 0.4996 MB / 1.468 GB, free: 42.91 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001651/3.088, allocations: 114.4 kB / 1.468 GB, free: 42.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.216e-05/3.088, allocations: 16 kB / 1.468 GB, free: 42.78 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001023/3.088, allocations: 322 kB / 1.468 GB, free: 42.46 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/3.088, allocations: 121.1 kB / 1.468 GB, free: 42.34 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003424/3.089, allocations: 339.3 kB / 1.469 GB, free: 41.92 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002866/3.089, allocations: 183.9 kB / 1.469 GB, free: 41.74 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/3.089, allocations: 0 / 1.469 GB, free: 41.74 MB / 0.6823 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009276/3.09, allocations: 0.5313 MB / 1.469 GB, free: 41.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/3.09, allocations: 9.094 kB / 1.469 GB, free: 41.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/3.09, allocations: 8 kB / 1.469 GB, free: 41.18 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.628e-05/3.09, allocations: 8 kB / 1.469 GB, free: 41.18 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004014/3.091, allocations: 115.8 kB / 1.469 GB, free: 41.06 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.938e-05/3.091, allocations: 8 kB / 1.469 GB, free: 41.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/3.092, allocations: 111.3 kB / 1.469 GB, free: 40.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.108e-05/3.092, allocations: 32 kB / 1.469 GB, free: 40.91 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.0001401/3.092, allocations: 132.8 kB / 1.47 GB, free: 40.78 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002484/3.092, allocations: 106.7 kB / 1.47 GB, free: 40.67 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007663/3.093, allocations: 463.2 kB / 1.47 GB, free: 40.21 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/3.093, allocations: 0 / 1.47 GB, free: 40.21 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/3.093, allocations: 4 kB / 1.47 GB, free: 40.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003984/3.093, allocations: 409.5 kB / 1.471 GB, free: 39.77 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002114/3.095, allocations: 1.385 MB / 1.472 GB, free: 38.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/3.095, allocations: 0 / 1.472 GB, free: 38.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003328/3.096, allocations: 95.97 kB / 1.472 GB, free: 38.21 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/3.096, allocations: 4 kB / 1.472 GB, free: 38.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/3.096, allocations: 8 kB / 1.472 GB, free: 38.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/3.096, allocations: 0 / 1.472 GB, free: 38.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/3.096, allocations: 4 kB / 1.472 GB, free: 38.19 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008963/3.097, allocations: 0.7864 MB / 1.473 GB, free: 37.35 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004694/3.097, allocations: 239.8 kB / 1.473 GB, free: 37.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000193/3.097, allocations: 12 kB / 1.473 GB, free: 37.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007002/3.098, allocations: 63.8 kB / 1.473 GB, free: 37.02 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.829e-05/3.098, allocations: 27.95 kB / 1.473 GB, free: 37 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-05/3.098, allocations: 15.98 kB / 1.473 GB, free: 36.98 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008465/3.099, allocations: 0.644 MB / 1.474 GB, free: 36.32 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.2e-07/3.099, allocations: 0 / 1.474 GB, free: 36.32 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001325/3.1, allocations: 367.5 kB / 1.474 GB, free: 35.96 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.002242/3.103, allocations: 2.122 MB / 1.476 GB, free: 33.79 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005697/3.103, allocations: 351.5 kB / 1.477 GB, free: 33.45 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/3.103, allocations: 0 / 1.477 GB, free: 33.45 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002376/3.104, allocations: 163.8 kB / 1.477 GB, free: 33.29 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002884/3.106, allocations: 0.6169 MB / 1.477 GB, free: 32.68 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003237/3.11, allocations: 1.446 MB / 1.479 GB, free: 31.18 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004866/3.11, allocations: 1.064 MB / 1.48 GB, free: 30.08 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009802/3.111, allocations: 200.4 kB / 1.48 GB, free: 29.88 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005149/3.112, allocations: 371.3 kB / 1.48 GB, free: 29.52 MB / 0.6823 GB Notification: Performance of SimCode: time 8.11e-07/3.112, allocations: 0 / 1.48 GB, free: 29.52 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5826/3.694, allocations: 32.76 MB / 1.512 GB, free: 123.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001601/3.695, allocations: 191.8 kB / 1.512 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.081/6.775, allocations: 0 / 1.512 GB, free: 123.1 MB / 0.6823 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/linux/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)