Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.717/1.717, allocations: 289.7 MB / 302.2 MB, free: 2.137 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001253/0.001253, allocations: 184.5 kB / 371.6 MB, free: 3.375 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.719/1.719, allocations: 205.1 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00101/0.00101, allocations: 89.86 kB / 0.745 GB, free: 54.44 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.271e-05/5.311e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2634, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.237/7.501, allocations: 2.345 GB / 3.325 GB, free: 212 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003703/7.501, allocations: 97.12 kB / 3.325 GB, free: 211.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.469/11.97, allocations: 1.233 GB / 4.558 GB, free: 55.3 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.834e-06/11.97, allocations: 0 / 4.558 GB, free: 55.3 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0005058/11.97, allocations: 77.31 kB / 4.558 GB, free: 55.23 MB / 0.9636 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.009793/11.98, allocations: 3.479 MB / 4.562 GB, free: 51.64 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.757e-05/11.98, allocations: 8.031 kB / 4.562 GB, free: 51.63 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008329/11.98, allocations: 276.3 kB / 4.562 GB, free: 51.36 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00287/11.98, allocations: 0.5116 MB / 4.562 GB, free: 50.84 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007811/11.99, allocations: 3.285 MB / 4.566 GB, free: 47.58 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/11.99, allocations: 162.7 kB / 4.566 GB, free: 47.43 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004371/11.99, allocations: 200 kB / 4.566 GB, free: 47.23 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004177/12, allocations: 2.366 MB / 4.568 GB, free: 44.82 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.216e-05/12, allocations: 0 / 4.568 GB, free: 44.82 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001888/12, allocations: 80 kB / 4.568 GB, free: 44.74 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-05/12, allocations: 75.56 kB / 4.568 GB, free: 44.66 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00292/12, allocations: 1.818 MB / 4.57 GB, free: 42.84 MB / 0.9636 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.01574/12.02, allocations: 9.84 MB / 4.58 GB, free: 32.78 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001772/12.02, allocations: 1.324 MB / 4.581 GB, free: 31.46 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001044/12.02, allocations: 0.9351 MB / 4.582 GB, free: 30.52 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008869/12.02, allocations: 1.174 MB / 4.583 GB, free: 29.09 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/12.02, allocations: 47.56 kB / 4.583 GB, free: 29.04 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=113): time 3.837e-06/12.02, allocations: 0 / 4.583 GB, free: 29.04 MB / 0.9636 GB Notification: Performance of matching and sorting (n=115): time 0.009433/12.03, allocations: 4.842 MB / 4.588 GB, free: 24.03 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/12.03, allocations: 290 kB / 4.588 GB, free: 23.68 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005202/12.03, allocations: 2.973 MB / 4.591 GB, free: 20.71 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0004947/12.04, allocations: 61.64 kB / 4.591 GB, free: 20.64 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.00111/12.04, allocations: 1.413 MB / 4.593 GB, free: 19.23 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005124/12.04, allocations: 389.2 kB / 4.593 GB, free: 18.85 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.708e-05/12.04, allocations: 24 kB / 4.593 GB, free: 18.82 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000124/12.04, allocations: 365.9 kB / 4.593 GB, free: 18.46 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001279/12.04, allocations: 0.9873 MB / 4.594 GB, free: 17.47 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/12.04, allocations: 1.411 MB / 4.596 GB, free: 15.93 MB / 0.9636 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.004973/12.04, allocations: 2.936 MB / 4.599 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/12.04, allocations: 0 / 4.599 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004406/12.05, allocations: 3.03 MB / 4.601 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.000725/12.05, allocations: 2.917 MB / 4.604 GB, free: 6.543 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/12.05, allocations: 8 kB / 4.604 GB, free: 6.535 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.96e-05/12.05, allocations: 12 kB / 4.604 GB, free: 6.523 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/12.05, allocations: 251.6 kB / 4.605 GB, free: 6.277 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003658/12.05, allocations: 0.6211 MB / 4.605 GB, free: 5.633 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003041/12.05, allocations: 179.6 kB / 4.605 GB, free: 5.457 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002153/12.05, allocations: 79.97 kB / 4.605 GB, free: 5.379 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/12.05, allocations: 4 kB / 4.605 GB, free: 5.375 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003568/12.06, allocations: 3.122 MB / 4.609 GB, free: 2.18 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/12.06, allocations: 12.03 kB / 4.609 GB, free: 2.168 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/12.06, allocations: 12 kB / 4.609 GB, free: 2.156 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008983/12.06, allocations: 243.6 kB / 4.609 GB, free: 1.918 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.604e-05/12.06, allocations: 27.8 kB / 4.609 GB, free: 1.891 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003009/12.06, allocations: 179.5 kB / 4.609 GB, free: 1.715 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002323/12.06, allocations: 79.97 kB / 4.609 GB, free: 1.637 MB / 0.9636 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.0005475/12.06, allocations: 381.5 kB / 4.609 GB, free: 1.223 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008151/12.06, allocations: 308.2 kB / 4.61 GB, free: 0.918 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004147/12.07, allocations: 2.316 MB / 4.612 GB, free: 14.57 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.747e-05/12.07, allocations: 12 kB / 4.612 GB, free: 14.55 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/12.07, allocations: 0 / 4.612 GB, free: 14.55 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002673/12.07, allocations: 2.081 MB / 4.614 GB, free: 12.38 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01103/12.08, allocations: 5.554 MB / 4.619 GB, free: 6.688 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/12.08, allocations: 4 kB / 4.619 GB, free: 6.684 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/12.08, allocations: 227.7 kB / 4.62 GB, free: 6.461 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-05/12.08, allocations: 12 kB / 4.62 GB, free: 6.449 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001046/12.08, allocations: 39.98 kB / 4.62 GB, free: 6.41 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003778/12.08, allocations: 0.6132 MB / 4.62 GB, free: 5.773 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.067e-05/12.08, allocations: 16.02 kB / 4.62 GB, free: 5.758 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005771/12.09, allocations: 4.343 MB / 4.625 GB, free: 1.117 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002129/12.09, allocations: 0.6884 MB / 4.625 GB, free: 416 kB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007739/12.09, allocations: 43.94 kB / 4.625 GB, free: 372 kB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001909/12.09, allocations: 151.3 kB / 4.625 GB, free: 224 kB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003354/12.09, allocations: 156.4 kB / 4.626 GB, free: 68 kB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001297/12.09, allocations: 55.98 kB / 4.626 GB, free: 12 kB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.00464/12.1, allocations: 2.297 MB / 4.628 GB, free: 13.73 MB / 0.9948 GB Notification: Performance of sort global known variables: time 4.71e-07/12.1, allocations: 0 / 4.628 GB, free: 13.73 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.006941/12.11, allocations: 1.472 MB / 4.629 GB, free: 12.26 MB / 0.9948 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.U,vol.dynBal.mXi[1],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.01166/12.12, allocations: 8.93 MB / 4.638 GB, free: 3.277 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.7428/12.86, allocations: 5.364 MB / 4.643 GB, free: 113.6 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.761e-05/12.86, allocations: 3.625 kB / 4.643 GB, free: 113.6 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.003033/12.86, allocations: 1.823 MB / 4.645 GB, free: 113.2 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009979/12.87, allocations: 1.602 MB / 4.647 GB, free: 113.2 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01705/12.89, allocations: 5.635 MB / 4.652 GB, free: 112 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002991/12.89, allocations: 2.084 MB / 4.654 GB, free: 111.2 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.006601/12.9, allocations: 1.041 MB / 4.655 GB, free: 111.2 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00278/12.9, allocations: 1.22 MB / 4.656 GB, free: 111.2 MB / 0.9948 GB Notification: Performance of SimCode: time 1.863e-06/12.9, allocations: 1.219 kB / 4.656 GB, free: 111.2 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2471/13.15, allocations: 132.5 MB / 4.786 GB, free: 105.2 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001696/13.15, allocations: 222.2 kB / 4.786 GB, free: 104.9 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.01/20.16, allocations: 0 / 4.786 GB, free: 104.9 MB / 0.9948 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe 2>&1)