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.22/2.22, allocations: 248.7 MB / 256.2 MB, free: 7.113 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00146/0.00146, allocations: 184.5 kB / 315.4 MB, free: 4.008 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.058/2.058, allocations: 205.3 MB / 0.5662 GB, free: 0.5195 MB / 410.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: 98.67 kB / 0.6704 GB, free: 5.719 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.273e-05/2.265e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.206, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.875/2.081, allocations: 399.8 MB / 1.274 GB, free: 265.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003257/2.081, allocations: 91.36 kB / 1.275 GB, free: 265.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.013/4.094, allocations: 419.4 MB / 1.684 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.723e-06/4.094, allocations: 0 / 1.684 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001282/4.095, allocations: 28.5 kB / 1.684 GB, free: 199.4 MB / 0.8698 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.003287/4.098, allocations: 1.261 MB / 1.685 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/4.098, allocations: 10.58 kB / 1.685 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006782/4.099, allocations: 135.9 kB / 1.686 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0376/4.136, allocations: 12.3 MB / 1.698 GB, free: 198.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.901e-05/4.136, allocations: 22.34 kB / 1.698 GB, free: 198.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/4.137, allocations: 49.22 kB / 1.698 GB, free: 198.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001246/4.138, allocations: 450.5 kB / 1.698 GB, free: 198.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001484/4.139, allocations: 0.6208 MB / 1.699 GB, free: 197.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.312e-05/4.139, allocations: 0 / 1.699 GB, free: 197.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-05/4.139, allocations: 0 / 1.699 GB, free: 197.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.404e-05/4.14, allocations: 23.91 kB / 1.699 GB, free: 197.9 MB / 0.8698 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.006358/4.146, allocations: 3.382 MB / 1.702 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006806/4.147, allocations: 318.9 kB / 1.702 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003226/4.147, allocations: 151.8 kB / 1.702 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005621/4.148, allocations: 0.6609 MB / 1.703 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/4.148, allocations: 40.25 kB / 1.703 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=31): time 2.976e-06/4.148, allocations: 0 / 1.703 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=31): time 0.001206/4.149, allocations: 344.2 kB / 1.703 GB, free: 195.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/4.149, allocations: 58.98 kB / 1.704 GB, free: 195.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/4.15, allocations: 0.6376 MB / 1.704 GB, free: 195 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.4e-05/4.15, allocations: 29.08 kB / 1.704 GB, free: 195 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004341/4.151, allocations: 0.5016 MB / 1.705 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/4.151, allocations: 101 kB / 1.705 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.634e-05/4.151, allocations: 2.125 kB / 1.705 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001002/4.151, allocations: 325.5 kB / 1.705 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002851/4.151, allocations: 117.1 kB / 1.705 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003989/4.152, allocations: 335.8 kB / 1.706 GB, free: 194 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006081/4.152, allocations: 194.9 kB / 1.706 GB, free: 194 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/4.152, allocations: 0 / 1.706 GB, free: 194 MB / 0.8698 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001333/4.154, allocations: 487 kB / 1.706 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/4.154, allocations: 6.531 kB / 1.706 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/4.154, allocations: 7.875 kB / 1.706 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.679e-05/4.154, allocations: 13.55 kB / 1.706 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007659/4.154, allocations: 121.2 kB / 1.706 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/4.154, allocations: 9.594 kB / 1.706 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/4.156, allocations: 82.02 kB / 1.706 GB, free: 193.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.803e-05/4.156, allocations: 24.34 kB / 1.706 GB, free: 193.8 MB / 0.8698 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.0001687/4.156, allocations: 122.5 kB / 1.707 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001171/4.157, allocations: 345.8 kB / 1.707 GB, free: 193.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001568/4.158, allocations: 83.91 kB / 1.707 GB, free: 193.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001286/4.159, allocations: 423.5 kB / 1.707 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.534e-05/4.159, allocations: 11.28 kB / 1.707 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/4.159, allocations: 0 / 1.707 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007788/4.16, allocations: 396.5 kB / 1.708 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003051/4.163, allocations: 1.27 MB / 1.709 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/4.163, allocations: 0 / 1.709 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006801/4.163, allocations: 83.47 kB / 1.709 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.528e-06/4.164, allocations: 3.906 kB / 1.709 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.546e-05/4.164, allocations: 7.75 kB / 1.709 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/4.164, allocations: 7.844 kB / 1.709 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/4.164, allocations: 0 / 1.709 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00154/4.165, allocations: 0.74 MB / 1.71 GB, free: 191.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005937/4.166, allocations: 230.5 kB / 1.71 GB, free: 191.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001505/4.166, allocations: 7.531 kB / 1.71 GB, free: 191.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009819/4.167, allocations: 52.7 kB / 1.71 GB, free: 191.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.823e-05/4.167, allocations: 23.52 kB / 1.71 GB, free: 191.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-05/4.167, allocations: 19.09 kB / 1.71 GB, free: 191.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0009004/4.168, allocations: 498.8 kB / 1.711 GB, free: 191.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.41e-07/4.168, allocations: 0 / 1.711 GB, free: 191.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001784/4.17, allocations: 366.3 kB / 1.711 GB, free: 191.4 MB / 0.8698 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.003006/4.173, allocations: 2.087 MB / 1.713 GB, free: 189.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000869/4.174, allocations: 335.2 kB / 1.713 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/4.174, allocations: 0 / 1.713 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003421/4.174, allocations: 156.3 kB / 1.713 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004085/4.178, allocations: 470.9 kB / 1.714 GB, free: 189.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003909/4.182, allocations: 1.396 MB / 1.715 GB, free: 189.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005904/4.183, allocations: 1.05 MB / 1.716 GB, free: 188.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001215/4.184, allocations: 174.7 kB / 1.716 GB, free: 188.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006254/4.185, allocations: 354.7 kB / 1.717 GB, free: 188.1 MB / 0.8698 GB Notification: Performance of SimCode: time 1.282e-06/4.185, allocations: 2.812 kB / 1.717 GB, free: 188.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09139/4.276, allocations: 25.09 MB / 1.741 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000268/4.276, allocations: 184.5 kB / 1.741 GB, free: 181.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.662/7.939, allocations: 3.719 kB / 1.741 GB, free: 181.2 MB / 0.8698 GB