Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.1/2.1, allocations: 251 MB / 265.9 MB, free: 11.69 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001525/0.001525, allocations: 187 kB / 325.5 MB, free: 2.891 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.215/2.215, allocations: 205.4 MB / 0.5764 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001124/0.001123, allocations: 95.72 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004931/0.000493, allocations: 16.09 kB / 0.795 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2187, allocations: 106.3 MB / 0.8988 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.345/1.563, allocations: 399.6 MB / 1.289 GB, free: 3.035 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005049/1.564, allocations: 98.64 kB / 1.289 GB, free: 2.984 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.207/3.771, allocations: 423.2 MB / 1.702 GB, free: 45.95 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.703e-06/3.771, allocations: 0 / 1.702 GB, free: 45.95 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001287/3.771, allocations: 31.98 kB / 1.702 GB, free: 45.92 MB / 0.8855 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.003615/3.775, allocations: 1.458 MB / 1.704 GB, free: 44.41 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/3.775, allocations: 8.031 kB / 1.704 GB, free: 44.4 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001792/3.775, allocations: 114.5 kB / 1.704 GB, free: 44.28 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004578/3.775, allocations: 138.5 kB / 1.704 GB, free: 44.14 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03635/3.812, allocations: 12.43 MB / 1.716 GB, free: 31.54 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.803e-05/3.812, allocations: 58 kB / 1.716 GB, free: 31.48 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/3.812, allocations: 83.88 kB / 1.716 GB, free: 31.39 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00185/3.814, allocations: 0.7632 MB / 1.717 GB, free: 30.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.546e-05/3.814, allocations: 4 kB / 1.717 GB, free: 30.59 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.243e-05/3.814, allocations: 28 kB / 1.717 GB, free: 30.57 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.655e-05/3.814, allocations: 27.95 kB / 1.717 GB, free: 30.54 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001662/3.816, allocations: 0.5555 MB / 1.718 GB, free: 29.98 MB / 0.8855 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.005032/3.821, allocations: 3.541 MB / 1.721 GB, free: 26.21 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009328/3.822, allocations: 371.6 kB / 1.722 GB, free: 25.82 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005152/3.822, allocations: 0.6687 MB / 1.722 GB, free: 25 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/3.822, allocations: 34.56 kB / 1.722 GB, free: 24.96 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=31): time 3.266e-06/3.822, allocations: 0 / 1.722 GB, free: 24.96 MB / 0.8855 GB Notification: Performance of matching and sorting (n=31): time 0.001832/3.824, allocations: 0.5645 MB / 1.723 GB, free: 24.39 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/3.824, allocations: 55.41 kB / 1.723 GB, free: 24.32 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/3.826, allocations: 0.8148 MB / 1.724 GB, free: 23.49 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.108e-05/3.826, allocations: 33.7 kB / 1.724 GB, free: 23.45 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004208/3.826, allocations: 0.4957 MB / 1.724 GB, free: 22.95 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/3.826, allocations: 110.4 kB / 1.724 GB, free: 22.84 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/3.826, allocations: 8 kB / 1.724 GB, free: 22.83 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.336e-05/3.826, allocations: 330 kB / 1.725 GB, free: 22.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005257/3.827, allocations: 161 kB / 1.725 GB, free: 22.35 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006904/3.828, allocations: 388.9 kB / 1.725 GB, free: 21.87 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006274/3.828, allocations: 220.8 kB / 1.725 GB, free: 21.65 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/3.828, allocations: 0 / 1.725 GB, free: 21.65 MB / 0.8855 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001543/3.83, allocations: 0.5979 MB / 1.726 GB, free: 21.05 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/3.83, allocations: 11.95 kB / 1.726 GB, free: 21.04 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/3.83, allocations: 4 kB / 1.726 GB, free: 21.03 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.504e-05/3.83, allocations: 8 kB / 1.726 GB, free: 21.02 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007265/3.831, allocations: 119.8 kB / 1.726 GB, free: 20.91 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/3.831, allocations: 11.94 kB / 1.726 GB, free: 20.89 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/3.832, allocations: 111.2 kB / 1.726 GB, free: 20.79 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.456e-05/3.832, allocations: 27.98 kB / 1.726 GB, free: 20.76 MB / 0.8855 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.000513/3.833, allocations: 277.6 kB / 1.726 GB, free: 20.48 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/3.833, allocations: 94.88 kB / 1.726 GB, free: 20.38 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001463/3.834, allocations: 0.523 MB / 1.727 GB, free: 19.85 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/3.834, allocations: 4 kB / 1.727 GB, free: 19.85 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.371e-06/3.834, allocations: 0 / 1.727 GB, free: 19.85 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001117/3.835, allocations: 477.5 kB / 1.727 GB, free: 19.35 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002858/3.838, allocations: 1.455 MB / 1.729 GB, free: 17.81 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/3.838, allocations: 0 / 1.729 GB, free: 17.81 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005941/3.839, allocations: 83.98 kB / 1.729 GB, free: 17.73 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/3.839, allocations: 4 kB / 1.729 GB, free: 17.72 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.49e-05/3.839, allocations: 16 kB / 1.729 GB, free: 17.71 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/3.839, allocations: 0 / 1.729 GB, free: 17.71 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/3.839, allocations: 4 kB / 1.729 GB, free: 17.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001952/3.841, allocations: 0.892 MB / 1.73 GB, free: 16.76 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004333/3.841, allocations: 243.6 kB / 1.73 GB, free: 16.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001968/3.842, allocations: 16 kB / 1.73 GB, free: 16.49 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009488/3.842, allocations: 59.94 kB / 1.73 GB, free: 16.43 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.929e-05/3.843, allocations: 27.91 kB / 1.73 GB, free: 16.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-05/3.843, allocations: 15.98 kB / 1.73 GB, free: 16.39 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001092/3.844, allocations: 0.6469 MB / 1.731 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.91e-07/3.844, allocations: 0 / 1.731 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001362/3.845, allocations: 375.4 kB / 1.731 GB, free: 15.36 MB / 0.8855 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.003238/3.848, allocations: 2.211 MB / 1.733 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001268/3.85, allocations: 427.8 kB / 1.734 GB, free: 12.69 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/3.85, allocations: 4.938 kB / 1.734 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005806/3.85, allocations: 200.1 kB / 1.734 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00468/3.855, allocations: 0.6054 MB / 1.735 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01238/3.867, allocations: 8.772 MB / 1.743 GB, free: 2.805 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005734/3.868, allocations: 1.056 MB / 1.744 GB, free: 1.719 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001293/3.869, allocations: 200.5 kB / 1.744 GB, free: 1.52 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006312/3.87, allocations: 375.2 kB / 1.745 GB, free: 1.152 MB / 0.8855 GB Notification: Performance of SimCode: time 9.82e-07/3.87, allocations: 0 / 1.745 GB, free: 1.152 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7327/4.603, allocations: 32.54 MB / 1.776 GB, free: 189.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002072/4.603, allocations: 233.1 kB / 1.777 GB, free: 189.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.716/8.318, allocations: 3.312 kB / 1.777 GB, free: 189.6 MB / 0.8855 GB