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.001023/0.001024, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4994/0.4994, allocations: 90.91 MB / 99.34 MB, free: 2.176 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 221.5 MB / 343.2 MB, free: 1.57 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008882/0.0008882, allocations: 87.95 kB / 415.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.888e-05/1.891e-05, allocations: 4 kB / 494.6 MB, free: 52.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1472, allocations: 72.3 MB / 0.5536 GB, free: 12.17 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.937/5.084, allocations: 2.137 GB / 2.691 GB, free: 39.39 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/5.085, allocations: 102.5 kB / 2.691 GB, free: 39.29 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.711/9.796, allocations: 1.239 GB / 3.929 GB, free: 46.8 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.206e-06/9.796, allocations: 1.031 kB / 3.929 GB, free: 46.8 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0005511/9.796, allocations: 86 kB / 3.929 GB, free: 46.79 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.01078/9.807, allocations: 3.472 MB / 3.933 GB, free: 45.16 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/9.807, allocations: 10.94 kB / 3.933 GB, free: 45.16 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003039/9.81, allocations: 0.509 MB / 3.933 GB, free: 44.97 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007601/9.818, allocations: 3.298 MB / 3.937 GB, free: 44.39 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.113e-05/9.818, allocations: 65.67 kB / 3.937 GB, free: 44.39 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003261/9.818, allocations: 127.7 kB / 3.937 GB, free: 44.39 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003154/9.821, allocations: 1.724 MB / 3.938 GB, free: 44.39 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003523/9.825, allocations: 2.1 MB / 3.94 GB, free: 44.19 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.02e-05/9.825, allocations: 2.219 kB / 3.94 GB, free: 44.19 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001613/9.825, allocations: 5.219 kB / 3.94 GB, free: 44.19 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.924e-05/9.825, allocations: 69.7 kB / 3.941 GB, free: 44.19 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.01357/9.839, allocations: 9.407 MB / 3.95 GB, free: 41.26 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001728/9.841, allocations: 1.276 MB / 3.951 GB, free: 41.23 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00122/9.842, allocations: 0.9012 MB / 3.952 GB, free: 41.22 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008011/9.843, allocations: 1.175 MB / 3.953 GB, free: 39.91 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/9.843, allocations: 48.22 kB / 3.953 GB, free: 39.87 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=113): time 3.848e-06/9.843, allocations: 0.75 kB / 3.953 GB, free: 39.87 MB / 0.6511 GB Notification: Performance of matching and sorting (n=115): time 0.008074/9.851, allocations: 4.217 MB / 3.957 GB, free: 38.96 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.968e-05/9.851, allocations: 287.7 kB / 3.957 GB, free: 38.65 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003287/9.854, allocations: 2.541 MB / 3.96 GB, free: 38.42 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001974/9.854, allocations: 33.36 kB / 3.96 GB, free: 38.39 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008801/9.855, allocations: 1.416 MB / 3.961 GB, free: 37.96 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002554/9.856, allocations: 384.2 kB / 3.962 GB, free: 37.72 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.101e-05/9.856, allocations: 3.594 kB / 3.962 GB, free: 37.72 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.247e-05/9.856, allocations: 363.3 kB / 3.962 GB, free: 37.41 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/9.857, allocations: 0.9691 MB / 3.963 GB, free: 37.41 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001354/9.858, allocations: 1.364 MB / 3.964 GB, free: 37.02 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.004529/9.863, allocations: 2.515 MB / 3.967 GB, free: 36.62 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/9.863, allocations: 1.719 kB / 3.967 GB, free: 36.62 MB / 0.6511 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004028/9.867, allocations: 2.573 MB / 3.969 GB, free: 36.42 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005814/9.867, allocations: 2.867 MB / 3.972 GB, free: 33.47 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/9.867, allocations: 6.562 kB / 3.972 GB, free: 33.47 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-05/9.867, allocations: 14.78 kB / 3.972 GB, free: 33.47 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/9.868, allocations: 255.3 kB / 3.972 GB, free: 33.47 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003018/9.869, allocations: 0.6242 MB / 3.973 GB, free: 32.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002562/9.871, allocations: 152.9 kB / 3.973 GB, free: 32.88 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001798/9.871, allocations: 81.72 kB / 3.973 GB, free: 32.88 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/9.872, allocations: 5.469 kB / 3.973 GB, free: 32.88 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00325/9.875, allocations: 2.507 MB / 3.976 GB, free: 32.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/9.875, allocations: 6.531 kB / 3.976 GB, free: 32.84 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/9.875, allocations: 16.62 kB / 3.976 GB, free: 32.84 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008559/9.876, allocations: 252.4 kB / 3.976 GB, free: 32.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.705e-05/9.876, allocations: 14.38 kB / 3.976 GB, free: 32.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002548/9.878, allocations: 144.5 kB / 3.976 GB, free: 32.84 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001845/9.878, allocations: 79.58 kB / 3.976 GB, free: 32.84 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.000541/9.879, allocations: 336.9 kB / 3.976 GB, free: 32.54 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003696/9.883, allocations: 1.897 MB / 3.978 GB, free: 32.33 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008605/9.884, allocations: 280.8 kB / 3.979 GB, free: 32.18 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003486/9.887, allocations: 2.026 MB / 3.981 GB, free: 32.07 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-05/9.887, allocations: 13.59 kB / 3.981 GB, free: 32.07 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/9.887, allocations: 0 / 3.981 GB, free: 32.07 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002316/9.889, allocations: 1.85 MB / 3.982 GB, free: 31.79 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01033/9.9, allocations: 5.042 MB / 3.987 GB, free: 31.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/9.9, allocations: 8.719 kB / 3.987 GB, free: 31.25 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009792/9.901, allocations: 218 kB / 3.988 GB, free: 31.25 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.27e-05/9.901, allocations: 13.41 kB / 3.988 GB, free: 31.25 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/9.901, allocations: 28.38 kB / 3.988 GB, free: 31.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002322/9.901, allocations: 0.6189 MB / 3.988 GB, free: 30.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/9.901, allocations: 7.344 kB / 3.988 GB, free: 30.66 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004518/9.906, allocations: 3.938 MB / 3.992 GB, free: 29.49 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001714/9.908, allocations: 0.6525 MB / 3.993 GB, free: 29.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008778/9.908, allocations: 19.81 kB / 3.993 GB, free: 29.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002038/9.91, allocations: 132 kB / 3.993 GB, free: 29.24 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002711/9.911, allocations: 151.1 kB / 3.993 GB, free: 29.23 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000131/9.911, allocations: 55.95 kB / 3.993 GB, free: 29.23 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.003733/9.915, allocations: 1.928 MB / 3.995 GB, free: 29.09 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/9.915, allocations: 0 / 3.995 GB, free: 29.09 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.006082/9.921, allocations: 1.344 MB / 3.996 GB, free: 29.03 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) * 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.009892/9.931, allocations: 8.679 MB / 4.005 GB, free: 25.21 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.005631/9.936, allocations: 5.247 MB / 4.01 GB, free: 23.67 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/9.936, allocations: 1.156 kB / 4.01 GB, free: 23.67 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001963/9.938, allocations: 1.788 MB / 4.012 GB, free: 23.3 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007145/9.945, allocations: 1.356 MB / 4.013 GB, free: 23.28 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01429/9.96, allocations: 5.478 MB / 4.018 GB, free: 21.97 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002218/9.962, allocations: 2.077 MB / 4.02 GB, free: 21.23 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.005026/9.967, allocations: 0.9614 MB / 4.021 GB, free: 21.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001593/9.969, allocations: 1.204 MB / 4.022 GB, free: 21.2 MB / 0.6511 GB Notification: Performance of SimCode: time 1.383e-06/9.969, allocations: 1.125 kB / 4.022 GB, free: 21.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1514/10.12, allocations: 98.31 MB / 4.118 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000133/10.12, allocations: 177.8 kB / 4.119 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.051/15.17, allocations: 0 / 4.119 GB, free: 11.88 MB / 0.6511 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)