Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.9355/0.9355, allocations: 128.7 MB / 143.7 MB, free: 2.305 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001598/0.001598, allocations: 183.3 kB / 173.7 MB, free: 6.125 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.977/1.977, allocations: 205.4 MB / 409 MB, free: 10.49 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001347/0.001348, allocations: 98.86 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005139/0.000514, allocations: 9.156 kB / 0.5604 GB, free: 97.45 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2182, allocations: 76.77 MB / 0.6354 GB, free: 30.46 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.881/6.1, allocations: 2.415 GB / 3.05 GB, free: 216.2 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003101/6.1, allocations: 108.7 kB / 3.05 GB, free: 216.1 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.791/8.891, allocations: 0.8678 GB / 3.918 GB, free: 69.8 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.453e-06/8.891, allocations: 0 / 3.918 GB, free: 69.8 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.000338/8.891, allocations: 55.22 kB / 3.918 GB, free: 69.79 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 355 * Number of variables: 355 Notification: Performance of Generate backend data structure: time 0.008045/8.9, allocations: 2.828 MB / 3.921 GB, free: 68.11 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/8.9, allocations: 7.25 kB / 3.921 GB, free: 68.11 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007091/8.9, allocations: 206.8 kB / 3.921 GB, free: 67.98 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002342/8.903, allocations: 384.1 kB / 3.921 GB, free: 67.84 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01089/8.914, allocations: 4.663 MB / 3.926 GB, free: 66.02 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001409/8.914, allocations: 113.7 kB / 3.926 GB, free: 65.98 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005813/8.914, allocations: 142.8 kB / 3.926 GB, free: 65.93 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0046/8.919, allocations: 1.761 MB / 3.928 GB, free: 65.14 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.867e-05/8.919, allocations: 1.125 kB / 3.928 GB, free: 65.14 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002484/8.919, allocations: 60.25 kB / 3.928 GB, free: 65.1 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.503e-05/8.919, allocations: 50.22 kB / 3.928 GB, free: 65.1 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002996/8.922, allocations: 1.376 MB / 3.929 GB, free: 64.6 MB / 0.6667 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.01063/8.933, allocations: 6.978 MB / 3.936 GB, free: 60.15 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/8.935, allocations: 0.9234 MB / 3.937 GB, free: 59.78 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003777/8.935, allocations: 436.9 kB / 3.938 GB, free: 59.31 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/8.935, allocations: 46.06 kB / 3.938 GB, free: 59.26 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=76): time 2.956e-06/8.935, allocations: 2.531 kB / 3.938 GB, free: 59.26 MB / 0.6667 GB Notification: Performance of matching and sorting (n=78): time 0.007184/8.942, allocations: 3.821 MB / 3.941 GB, free: 56.85 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.738e-05/8.942, allocations: 199.3 kB / 3.942 GB, free: 56.62 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002573/8.945, allocations: 1.869 MB / 3.943 GB, free: 55.6 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001135/8.945, allocations: 45.42 kB / 3.943 GB, free: 55.56 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007359/8.946, allocations: 0.9632 MB / 3.944 GB, free: 54.71 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001906/8.946, allocations: 263.9 kB / 3.945 GB, free: 54.49 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.482e-05/8.946, allocations: 21.44 kB / 3.945 GB, free: 54.48 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.983e-05/8.946, allocations: 350.1 kB / 3.945 GB, free: 54.14 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000852/8.947, allocations: 0.622 MB / 3.946 GB, free: 53.83 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/8.948, allocations: 0.9394 MB / 3.946 GB, free: 53.15 MB / 0.6667 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003936/8.952, allocations: 2.428 MB / 3.949 GB, free: 51.71 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/8.952, allocations: 3.938 kB / 3.949 GB, free: 51.7 MB / 0.6667 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002564/8.954, allocations: 1.923 MB / 3.951 GB, free: 50.66 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005018/8.955, allocations: 2.502 MB / 3.953 GB, free: 47.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/8.955, allocations: 3.906 kB / 3.953 GB, free: 47.93 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.605e-05/8.955, allocations: 11.47 kB / 3.953 GB, free: 47.93 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008184/8.956, allocations: 202.3 kB / 3.953 GB, free: 47.88 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.838e-05/8.956, allocations: 15.58 kB / 3.953 GB, free: 47.88 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001677/8.958, allocations: 131 kB / 3.954 GB, free: 47.83 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/8.958, allocations: 56.89 kB / 3.954 GB, free: 47.81 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.277e-06/8.958, allocations: 3.875 kB / 3.954 GB, free: 47.81 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002023/8.96, allocations: 1.859 MB / 3.955 GB, free: 46.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/8.96, allocations: 6.906 kB / 3.955 GB, free: 46.77 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.639e-06/8.96, allocations: 12.75 kB / 3.955 GB, free: 46.77 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006753/8.96, allocations: 189.6 kB / 3.956 GB, free: 46.73 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/8.961, allocations: 11.22 kB / 3.956 GB, free: 46.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/8.962, allocations: 115.4 kB / 3.956 GB, free: 46.68 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.651e-05/8.962, allocations: 56.14 kB / 3.956 GB, free: 46.67 MB / 0.6667 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 4 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i,conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 6 * 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.001256/8.963, allocations: 0.7217 MB / 3.956 GB, free: 46.1 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002634/8.964, allocations: 205.2 kB / 3.957 GB, free: 46 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001957/8.965, allocations: 1.397 MB / 3.958 GB, free: 45.19 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/8.966, allocations: 7.781 kB / 3.958 GB, free: 45.19 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/8.966, allocations: 0 / 3.958 GB, free: 45.19 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0015/8.967, allocations: 1.487 MB / 3.959 GB, free: 44.15 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00462/8.972, allocations: 3.398 MB / 3.963 GB, free: 41.45 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/8.972, allocations: 4 kB / 3.963 GB, free: 41.45 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007048/8.972, allocations: 163.4 kB / 3.963 GB, free: 41.29 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.109e-05/8.972, allocations: 8 kB / 3.963 GB, free: 41.29 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.099e-05/8.972, allocations: 24 kB / 3.963 GB, free: 41.26 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.592e-06/8.972, allocations: 4 kB / 3.963 GB, free: 41.26 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/8.973, allocations: 7.797 kB / 3.963 GB, free: 41.25 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002584/8.975, allocations: 2.551 MB / 3.966 GB, free: 38.57 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008893/8.976, allocations: 448.9 kB / 3.966 GB, free: 38.11 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000228/8.976, allocations: 26.81 kB / 3.966 GB, free: 38.09 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/8.977, allocations: 118.7 kB / 3.966 GB, free: 37.98 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001786/8.978, allocations: 82.8 kB / 3.966 GB, free: 37.9 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.739e-05/8.978, allocations: 39.97 kB / 3.966 GB, free: 37.86 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001885/8.98, allocations: 1.452 MB / 3.968 GB, free: 36.39 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.9e-07/8.98, allocations: 0 / 3.968 GB, free: 36.39 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00301/8.983, allocations: 1.019 MB / 3.969 GB, free: 35.37 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (conPID.I.y,vol.dynBal.U,vol.dynBal.mXi[1],beaCoo.conCoo.hex.vol.dynBal.U) * Number of discrete variables: 3 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i) * Number of discrete states: 3 (beaCoo.conCoo.mod.airFlo_mod.i,beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 1 * 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.006158/8.989, allocations: 6.084 MB / 3.975 GB, free: 29.61 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003242/8.992, allocations: 3.057 MB / 3.978 GB, free: 26.41 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/8.992, allocations: 0 / 3.978 GB, free: 26.41 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0009475/8.993, allocations: 0.9061 MB / 3.978 GB, free: 25.47 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004896/8.998, allocations: 1.046 MB / 3.979 GB, free: 24.52 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009679/9.008, allocations: 9.257 MB / 3.988 GB, free: 15.26 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009461/9.009, allocations: 1.577 MB / 3.99 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002023/9.011, allocations: 436 kB / 3.99 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008694/9.012, allocations: 0.8067 MB / 3.991 GB, free: 12.52 MB / 0.6667 GB Notification: Performance of SimCode: time 9.12e-07/9.012, allocations: 0 / 3.991 GB, free: 12.52 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.535/9.547, allocations: 85.23 MB / 4.074 GB, free: 80.54 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001574/9.547, allocations: 243.2 kB / 4.075 GB, free: 80.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.758/14.3, allocations: 0 / 4.075 GB, free: 80.3 MB / 0.6823 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1)