Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly",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.001058/0.001058, allocations: 179.1 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4725/0.4725, allocations: 90.81 MB / 104.5 MB, free: 9.789 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.266/1.266, allocations: 221.3 MB / 348.3 MB, free: 452 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009255/0.0009257, allocations: 93.8 kB / 421.2 MB, free: 5.484 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.552e-05/3.555e-05, allocations: 7.984 kB / 0.4897 GB, free: 5.254 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3933/0.3933, allocations: 72.3 MB / 0.5603 GB, free: 40.44 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.167/5.56, allocations: 2.138 GB / 2.698 GB, free: 112.6 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003214/5.561, allocations: 100.6 kB / 2.698 GB, free: 112.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.459/10.02, allocations: 1.248 GB / 3.946 GB, free: 58.11 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.674e-06/10.02, allocations: 0 / 3.946 GB, free: 58.11 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0003719/10.02, allocations: 92.55 kB / 3.946 GB, free: 58.09 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 481 * Number of variables: 481 Notification: Performance of Generate backend data structure: time 0.007281/10.03, allocations: 3.467 MB / 3.949 GB, free: 55.81 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/10.03, allocations: 15.45 kB / 3.949 GB, free: 55.81 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004941/10.03, allocations: 275.2 kB / 3.949 GB, free: 55.64 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002241/10.03, allocations: 0.5067 MB / 3.95 GB, free: 55.44 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005828/10.04, allocations: 3.296 MB / 3.953 GB, free: 53.7 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.05e-05/10.04, allocations: 155.9 kB / 3.953 GB, free: 53.63 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002985/10.04, allocations: 204.7 kB / 3.954 GB, free: 53.57 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00351/10.04, allocations: 2.368 MB / 3.956 GB, free: 52.23 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.995e-05/10.04, allocations: 3.719 kB / 3.956 GB, free: 52.23 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001738/10.04, allocations: 81.69 kB / 3.956 GB, free: 52.17 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-05/10.04, allocations: 68.25 kB / 3.956 GB, free: 52.16 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002518/10.04, allocations: 1.829 MB / 3.958 GB, free: 51.32 MB / 0.6511 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.01233/10.06, allocations: 9.831 MB / 3.967 GB, free: 43.47 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001774/10.06, allocations: 1.32 MB / 3.969 GB, free: 42.83 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009695/10.06, allocations: 0.9254 MB / 3.97 GB, free: 42.39 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008479/10.06, allocations: 1.179 MB / 3.971 GB, free: 41.04 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/10.06, allocations: 43.44 kB / 3.971 GB, free: 40.99 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=113): time 3.666e-06/10.06, allocations: 0 / 3.971 GB, free: 40.99 MB / 0.6511 GB Notification: Performance of matching and sorting (n=115): time 0.007469/10.07, allocations: 4.85 MB / 3.976 GB, free: 36.48 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.84e-05/10.07, allocations: 294 kB / 3.976 GB, free: 36.14 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003947/10.07, allocations: 2.97 MB / 3.979 GB, free: 33.17 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000192/10.07, allocations: 57.7 kB / 3.979 GB, free: 33.11 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008669/10.07, allocations: 1.409 MB / 3.98 GB, free: 31.69 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002558/10.07, allocations: 395.3 kB / 3.981 GB, free: 31.3 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.307e-05/10.07, allocations: 28 kB / 3.981 GB, free: 31.28 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.47e-05/10.07, allocations: 361.9 kB / 3.981 GB, free: 30.92 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001055/10.07, allocations: 0.9912 MB / 3.982 GB, free: 29.93 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001272/10.07, allocations: 1.403 MB / 3.983 GB, free: 28.38 MB / 0.6511 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.004451/10.08, allocations: 2.936 MB / 3.986 GB, free: 25.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/10.08, allocations: 4 kB / 3.986 GB, free: 25.29 MB / 0.6511 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003415/10.08, allocations: 3.036 MB / 3.989 GB, free: 22.18 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005342/10.08, allocations: 2.906 MB / 3.992 GB, free: 18.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/10.08, allocations: 8 kB / 3.992 GB, free: 18.98 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.504e-05/10.08, allocations: 12 kB / 3.992 GB, free: 18.97 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009947/10.08, allocations: 260.5 kB / 3.992 GB, free: 18.72 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002809/10.08, allocations: 0.6172 MB / 3.993 GB, free: 18.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002222/10.09, allocations: 191.6 kB / 3.993 GB, free: 17.89 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001569/10.09, allocations: 79.97 kB / 3.993 GB, free: 17.81 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.207e-06/10.09, allocations: 4 kB / 3.993 GB, free: 17.81 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003014/10.09, allocations: 3.122 MB / 3.996 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/10.09, allocations: 8 kB / 3.996 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/10.09, allocations: 12 kB / 3.996 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008524/10.09, allocations: 252.4 kB / 3.996 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/10.09, allocations: 12 kB / 3.996 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002101/10.09, allocations: 182.8 kB / 3.997 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00014/10.09, allocations: 75.98 kB / 3.997 GB, free: 14.09 MB / 0.6511 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: 26 * Number of states: 0 () * Number of discrete variables: 7 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i,conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003799/10.09, allocations: 386.8 kB / 3.997 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003823/10.09, allocations: 308.2 kB / 3.997 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002986/10.1, allocations: 2.311 MB / 4 GB, free: 11 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/10.1, allocations: 15.98 kB / 4 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/10.1, allocations: 4 kB / 4 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001959/10.1, allocations: 2.089 MB / 4.002 GB, free: 8.809 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00795/10.11, allocations: 5.559 MB / 4.007 GB, free: 3.109 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.36e-05/10.11, allocations: 4 kB / 4.007 GB, free: 3.105 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009863/10.11, allocations: 235.3 kB / 4.007 GB, free: 2.879 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.797e-05/10.11, allocations: 12 kB / 4.007 GB, free: 2.867 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.275e-05/10.11, allocations: 39.98 kB / 4.007 GB, free: 2.828 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002906/10.11, allocations: 0.609 MB / 4.008 GB, free: 2.199 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/10.11, allocations: 8 kB / 4.008 GB, free: 2.191 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005069/10.11, allocations: 4.332 MB / 4.012 GB, free: 13.57 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001828/10.12, allocations: 0.6807 MB / 4.013 GB, free: 12.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003947/10.12, allocations: 47.94 kB / 4.013 GB, free: 12.82 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001478/10.12, allocations: 151.7 kB / 4.013 GB, free: 12.67 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003084/10.12, allocations: 148.5 kB / 4.013 GB, free: 12.52 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/10.12, allocations: 59.92 kB / 4.013 GB, free: 12.46 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.003956/10.12, allocations: 2.299 MB / 4.015 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.9e-07/10.12, allocations: 0 / 4.015 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004771/10.13, allocations: 1.471 MB / 4.017 GB, free: 8.707 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 5 (conPID.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,beaCooHea.conCoo.hex.vol.dynBal.U,beaCooHea.conHea.hex.vol.dynBal.U) * Number of discrete variables: 6 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i) * Number of discrete states: 6 (beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (113): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.4554/10.58, allocations: 8.901 MB / 4.026 GB, free: 74.39 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.007319/10.59, allocations: 5.379 MB / 4.031 GB, free: 72.86 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.259e-05/10.59, allocations: 0 / 4.031 GB, free: 72.86 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002144/10.59, allocations: 1.822 MB / 4.033 GB, free: 72.48 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008606/10.6, allocations: 1.576 MB / 4.034 GB, free: 72.46 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01099/10.61, allocations: 5.645 MB / 4.04 GB, free: 71.25 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001593/10.61, allocations: 2.085 MB / 4.042 GB, free: 70.52 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.004171/10.62, allocations: 1.04 MB / 4.043 GB, free: 70.49 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001476/10.62, allocations: 1.216 MB / 4.044 GB, free: 70.49 MB / 0.6667 GB Notification: Performance of SimCode: time 1.102e-06/10.62, allocations: 1.594 kB / 4.044 GB, free: 70.49 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1934/10.81, allocations: 132 MB / 4.173 GB, free: 59.3 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001441/10.81, allocations: 225.5 kB / 4.173 GB, free: 59.04 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.143/16.96, allocations: 5.312 kB / 4.173 GB, free: 59.04 MB / 0.6667 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe 2>&1)