Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.365/2.365, allocations: 390.3 MB / 402.8 MB, free: 6.66 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 184.8 kB / 496.1 MB, free: 12.83 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.633/1.633, allocations: 221.3 MB / 0.7915 GB, free: 5.379 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 91.61 kB / 0.9317 GB, free: 5.688 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.458e-05/4.461e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3332, allocations: 143 MB / 1.219 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.894/6.227, allocations: 2.183 GB / 3.402 GB, free: 81.79 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000331/6.228, allocations: 99.94 kB / 3.402 GB, free: 81.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.356/9.584, allocations: 0.8847 GB / 4.287 GB, free: 52.72 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.004e-06/9.584, allocations: 0 / 4.287 GB, free: 52.72 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001939/9.584, allocations: 59.92 kB / 4.287 GB, free: 52.66 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.004534/9.588, allocations: 2.354 MB / 4.289 GB, free: 50.21 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/9.588, allocations: 8.031 kB / 4.289 GB, free: 50.21 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002492/9.589, allocations: 202.2 kB / 4.289 GB, free: 50 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001685/9.59, allocations: 380.3 kB / 4.29 GB, free: 49.63 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003673/9.594, allocations: 2.045 MB / 4.292 GB, free: 47.54 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.425e-05/9.594, allocations: 106.6 kB / 4.292 GB, free: 47.43 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001872/9.594, allocations: 139.9 kB / 4.292 GB, free: 47.29 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002408/9.597, allocations: 1.564 MB / 4.294 GB, free: 45.67 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.005e-05/9.597, allocations: 0 / 4.294 GB, free: 45.67 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/9.597, allocations: 56 kB / 4.294 GB, free: 45.62 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-05/9.597, allocations: 50.48 kB / 4.294 GB, free: 45.57 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001702/9.599, allocations: 1.189 MB / 4.295 GB, free: 44.37 MB / 1.167 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.008377/9.607, allocations: 6.463 MB / 4.301 GB, free: 37.61 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/9.608, allocations: 0.8741 MB / 4.302 GB, free: 36.73 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006819/9.609, allocations: 0.6054 MB / 4.303 GB, free: 36.12 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005618/9.609, allocations: 0.6851 MB / 4.303 GB, free: 35.28 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/9.61, allocations: 43.34 kB / 4.303 GB, free: 35.23 MB / 1.167 GB Notification: Performance of pre-optimization done (n=83): time 4.148e-06/9.61, allocations: 4 kB / 4.303 GB, free: 35.23 MB / 1.167 GB Notification: Performance of matching and sorting (n=85): time 0.004986/9.615, allocations: 3.089 MB / 4.306 GB, free: 32.03 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.439e-05/9.615, allocations: 200.7 kB / 4.307 GB, free: 31.79 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002509/9.617, allocations: 1.773 MB / 4.308 GB, free: 29.97 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001202/9.617, allocations: 49.7 kB / 4.308 GB, free: 29.92 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006098/9.618, allocations: 0.8908 MB / 4.309 GB, free: 29.02 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000197/9.618, allocations: 287.8 kB / 4.309 GB, free: 28.73 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.279e-05/9.618, allocations: 24 kB / 4.309 GB, free: 28.71 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001114/9.618, allocations: 341.9 kB / 4.31 GB, free: 28.37 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007173/9.619, allocations: 0.5799 MB / 4.31 GB, free: 27.79 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008862/9.62, allocations: 0.8411 MB / 4.311 GB, free: 26.86 MB / 1.167 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.00403/9.624, allocations: 2.382 MB / 4.314 GB, free: 24.39 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/9.624, allocations: 4 kB / 4.314 GB, free: 24.38 MB / 1.167 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002536/9.626, allocations: 1.785 MB / 4.315 GB, free: 22.55 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004419/9.627, allocations: 1.662 MB / 4.317 GB, free: 20.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/9.627, allocations: 4 kB / 4.317 GB, free: 20.69 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/9.627, allocations: 8 kB / 4.317 GB, free: 20.68 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006937/9.628, allocations: 183.7 kB / 4.317 GB, free: 20.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.75e-05/9.628, allocations: 11.94 kB / 4.317 GB, free: 20.49 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001688/9.629, allocations: 127.6 kB / 4.317 GB, free: 20.37 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/9.63, allocations: 51.98 kB / 4.317 GB, free: 20.32 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/9.63, allocations: 4 kB / 4.317 GB, free: 20.31 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00194/9.632, allocations: 1.789 MB / 4.319 GB, free: 18.49 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/9.632, allocations: 4 kB / 4.319 GB, free: 18.48 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/9.632, allocations: 8 kB / 4.319 GB, free: 18.48 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006395/9.632, allocations: 176.2 kB / 4.319 GB, free: 18.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/9.632, allocations: 11.94 kB / 4.319 GB, free: 18.29 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/9.634, allocations: 127.7 kB / 4.319 GB, free: 18.17 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/9.634, allocations: 51.92 kB / 4.319 GB, free: 18.12 MB / 1.167 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: 16 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 100 * 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.0003115/9.634, allocations: 264.3 kB / 4.32 GB, free: 17.84 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002655/9.635, allocations: 197.6 kB / 4.32 GB, free: 17.64 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002131/9.637, allocations: 1.423 MB / 4.321 GB, free: 16.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/9.637, allocations: 11.98 kB / 4.321 GB, free: 16.18 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/9.637, allocations: 0 / 4.321 GB, free: 16.18 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001386/9.638, allocations: 1.503 MB / 4.323 GB, free: 14.57 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005092/9.643, allocations: 3.582 MB / 4.326 GB, free: 10.85 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.365e-06/9.643, allocations: 4 kB / 4.326 GB, free: 10.84 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006796/9.644, allocations: 163.8 kB / 4.326 GB, free: 10.68 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.299e-05/9.644, allocations: 8 kB / 4.326 GB, free: 10.68 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.367e-05/9.644, allocations: 24 kB / 4.326 GB, free: 10.65 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.083e-05/9.644, allocations: 15.92 kB / 4.326 GB, free: 10.64 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/9.644, allocations: 8 kB / 4.326 GB, free: 10.63 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002672/9.647, allocations: 2.707 MB / 4.329 GB, free: 7.699 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009497/9.648, allocations: 454.7 kB / 4.329 GB, free: 7.234 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002239/9.648, allocations: 28 kB / 4.329 GB, free: 7.207 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/9.649, allocations: 107.8 kB / 4.33 GB, free: 7.102 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002021/9.649, allocations: 100.3 kB / 4.33 GB, free: 7.004 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.27e-05/9.649, allocations: 35.98 kB / 4.33 GB, free: 6.969 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001913/9.651, allocations: 1.38 MB / 4.331 GB, free: 5.562 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.71e-07/9.651, allocations: 0 / 4.331 GB, free: 5.562 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003133/9.654, allocations: 0.9997 MB / 4.332 GB, free: 4.562 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (conPID.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,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.watFlo_mod.i,beaCoo.conCoo.mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 2 * 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.006841/9.661, allocations: 6.599 MB / 4.338 GB, free: 13.7 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.004102/9.665, allocations: 3.047 MB / 4.341 GB, free: 10.5 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/9.665, allocations: 7.938 kB / 4.341 GB, free: 10.49 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001302/9.667, allocations: 0.9796 MB / 4.342 GB, free: 9.48 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005248/9.672, allocations: 0.9965 MB / 4.343 GB, free: 8.488 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007975/9.68, allocations: 3.626 MB / 4.347 GB, free: 4.742 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001272/9.681, allocations: 1.565 MB / 4.348 GB, free: 3.145 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.002713/9.684, allocations: 0.6668 MB / 4.349 GB, free: 2.477 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009789/9.685, allocations: 0.7375 MB / 4.35 GB, free: 1.738 MB / 1.182 GB Notification: Performance of SimCode: time 6.51e-07/9.685, allocations: 4 kB / 4.35 GB, free: 1.734 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.067/10.75, allocations: 91.11 MB / 4.439 GB, free: 182.3 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000212/10.75, allocations: 210.1 kB / 4.439 GB, free: 182.1 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.367/16.12, allocations: 7.703 kB / 4.439 GB, free: 182.1 MB / 1.198 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly_res.mat does not exist to compare? outputFormat=mat