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.001337/0.001337, allocations: 182.1 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5108/0.5108, allocations: 91.98 MB / 108.5 MB, free: 13.06 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.492/1.492, allocations: 223.2 MB / 354.3 MB, free: 12.17 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009421/0.0009421, allocations: 107.1 kB / 427.4 MB, free: 3.883 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.0003257, allocations: 12 kB / 0.4983 GB, free: 42.22 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1576, allocations: 72.31 MB / 0.5689 GB, free: 1.84 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.317/5.475, allocations: 2.138 GB / 2.707 GB, free: 211.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/5.475, allocations: 105.3 kB / 2.707 GB, free: 211.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.482/9.957, allocations: 1.25 GB / 3.957 GB, free: 47.39 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.166e-06/9.957, allocations: 0 / 3.957 GB, free: 47.39 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0006558/9.958, allocations: 85.78 kB / 3.957 GB, free: 47.38 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.01331/9.971, allocations: 4.135 MB / 3.961 GB, free: 45.21 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/9.971, allocations: 10.25 kB / 3.961 GB, free: 45.21 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001358/9.972, allocations: 275.4 kB / 3.962 GB, free: 45.16 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003361/9.976, allocations: 0.5042 MB / 3.962 GB, free: 44.97 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01006/9.986, allocations: 3.328 MB / 3.965 GB, free: 44.38 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002237/9.986, allocations: 152.7 kB / 3.965 GB, free: 44.38 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009354/9.987, allocations: 208.8 kB / 3.966 GB, free: 44.37 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006764/9.994, allocations: 2.425 MB / 3.968 GB, free: 44.17 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.043e-05/9.994, allocations: 0 / 3.968 GB, free: 44.17 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004988/9.995, allocations: 78.06 kB / 3.968 GB, free: 44.17 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.265e-05/9.995, allocations: 70.34 kB / 3.968 GB, free: 44.16 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004333/9.999, allocations: 1.904 MB / 3.97 GB, free: 44.15 MB / 0.6511 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.01986/10.02, allocations: 9.826 MB / 3.98 GB, free: 41.11 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002128/10.02, allocations: 1.367 MB / 3.981 GB, free: 41.09 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008628/10.02, allocations: 1.178 MB / 3.982 GB, free: 39.77 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.345e-05/10.02, allocations: 53.28 kB / 3.982 GB, free: 39.73 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=113): time 4.198e-06/10.02, allocations: 0 / 3.982 GB, free: 39.73 MB / 0.6511 GB Notification: Performance of matching and sorting (n=115): time 0.0118/10.03, allocations: 6.214 MB / 3.988 GB, free: 37.69 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001351/10.03, allocations: 288.3 kB / 3.989 GB, free: 37.38 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006929/10.04, allocations: 3.011 MB / 3.991 GB, free: 37.15 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000331/10.04, allocations: 55.77 kB / 3.992 GB, free: 37.12 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0013/10.04, allocations: 1.412 MB / 3.993 GB, free: 36.75 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004035/10.04, allocations: 391.3 kB / 3.993 GB, free: 36.51 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.69e-05/10.04, allocations: 27.53 kB / 3.993 GB, free: 36.51 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001247/10.04, allocations: 357.9 kB / 3.994 GB, free: 36.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001359/10.04, allocations: 1.02 MB / 3.995 GB, free: 36.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001511/10.05, allocations: 1.434 MB / 3.996 GB, free: 35.81 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.004878/10.05, allocations: 2.953 MB / 3.999 GB, free: 35.04 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/10.05, allocations: 5.875 kB / 3.999 GB, free: 35.04 MB / 0.6511 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004417/10.06, allocations: 3.081 MB / 4.002 GB, free: 34.45 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007361/10.06, allocations: 2.915 MB / 4.005 GB, free: 31.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/10.06, allocations: 8.938 kB / 4.005 GB, free: 31.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.985e-05/10.06, allocations: 11.28 kB / 4.005 GB, free: 31.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/10.06, allocations: 261.2 kB / 4.005 GB, free: 31.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003353/10.06, allocations: 0.6151 MB / 4.006 GB, free: 30.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00281/10.06, allocations: 182.7 kB / 4.006 GB, free: 30.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001748/10.06, allocations: 79.52 kB / 4.006 GB, free: 30.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/10.06, allocations: 7.844 kB / 4.006 GB, free: 30.8 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003908/10.06, allocations: 3.188 MB / 4.009 GB, free: 30.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/10.06, allocations: 3.875 kB / 4.009 GB, free: 30.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/10.06, allocations: 15.06 kB / 4.009 GB, free: 30.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009277/10.07, allocations: 246 kB / 4.009 GB, free: 30.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.247e-05/10.07, allocations: 16.56 kB / 4.009 GB, free: 30.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002793/10.07, allocations: 184.7 kB / 4.009 GB, free: 30.38 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001955/10.07, allocations: 79.91 kB / 4.01 GB, free: 30.38 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 () * Number of clocked 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.002384/10.07, allocations: 1.091 MB / 4.011 GB, free: 30 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009018/10.07, allocations: 302.4 kB / 4.011 GB, free: 29.84 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004061/10.08, allocations: 2.367 MB / 4.013 GB, free: 29.55 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.916e-05/10.08, allocations: 13.92 kB / 4.013 GB, free: 29.55 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-06/10.08, allocations: 0 / 4.013 GB, free: 29.55 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002493/10.08, allocations: 2.142 MB / 4.015 GB, free: 29.09 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01143/10.09, allocations: 5.631 MB / 4.021 GB, free: 28.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-05/10.09, allocations: 3.25 kB / 4.021 GB, free: 28.32 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/10.09, allocations: 217.3 kB / 4.021 GB, free: 28.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.213e-05/10.09, allocations: 10.75 kB / 4.021 GB, free: 28.32 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001194/10.09, allocations: 42.36 kB / 4.021 GB, free: 28.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002682/10.09, allocations: 0.6176 MB / 4.022 GB, free: 27.73 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.013e-05/10.09, allocations: 10.5 kB / 4.022 GB, free: 27.73 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005394/10.1, allocations: 4.416 MB / 4.026 GB, free: 26.27 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002352/10.1, allocations: 0.6892 MB / 4.027 GB, free: 26.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001096/10.1, allocations: 40.3 kB / 4.027 GB, free: 26.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002521/10.1, allocations: 155.8 kB / 4.027 GB, free: 25.99 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003379/10.1, allocations: 152.2 kB / 4.027 GB, free: 25.99 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001799/10.1, allocations: 59.94 kB / 4.027 GB, free: 25.99 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.005681/10.11, allocations: 2.337 MB / 4.029 GB, free: 25.84 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.91e-07/10.11, allocations: 0 / 4.029 GB, free: 25.84 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.007737/10.12, allocations: 1.458 MB / 4.031 GB, free: 25.78 MB / 0.6511 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) * Number of clocked states: 0 () * 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.01225/10.13, allocations: 8.979 MB / 4.04 GB, free: 21.77 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.007169/10.14, allocations: 5.35 MB / 4.045 GB, free: 19.53 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-05/10.14, allocations: 4 kB / 4.045 GB, free: 19.53 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002238/10.14, allocations: 1.852 MB / 4.047 GB, free: 18.53 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008841/10.15, allocations: 1.585 MB / 4.048 GB, free: 18.27 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.022/10.17, allocations: 12.21 MB / 4.06 GB, free: 25.59 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003345/10.17, allocations: 2.073 MB / 4.062 GB, free: 24.65 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.004235/10.18, allocations: 0.6313 MB / 4.063 GB, free: 24.57 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002479/10.18, allocations: 1.267 MB / 4.064 GB, free: 23.57 MB / 0.6667 GB Notification: Performance of SimCode: time 1.202e-06/10.18, allocations: 4 kB / 4.064 GB, free: 23.57 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7134/10.89, allocations: 121.4 MB / 4.182 GB, free: 59.44 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001724/10.89, allocations: 261.5 kB / 4.183 GB, free: 59.1 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.112/17.01, allocations: 0 / 4.183 GB, free: 59.1 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)