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.388/2.388, allocations: 390.5 MB / 398 MB, free: 11.01 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.001087/0.001086, allocations: 176.9 kB / 491.2 MB, free: 1.609 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.601/1.601, allocations: 221.5 MB / 0.7868 GB, free: 13.25 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.0009537/0.0009535, allocations: 87.89 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.56e-05/2.563e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2932, allocations: 143 MB / 1.212 GB, free: 39.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.797/6.091, allocations: 2.183 GB / 3.395 GB, free: 117.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002877/6.091, allocations: 100.4 kB / 3.395 GB, free: 117.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.249/9.34, allocations: 0.8773 GB / 4.272 GB, free: 106.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.784e-06/9.34, allocations: 0 / 4.272 GB, free: 106.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000352/9.34, allocations: 64.52 kB / 4.273 GB, free: 106.7 MB / 1.151 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.006172/9.346, allocations: 2.356 MB / 4.275 GB, free: 104.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/9.346, allocations: 12.03 kB / 4.275 GB, free: 104.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002455/9.349, allocations: 371 kB / 4.275 GB, free: 103.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004914/9.354, allocations: 2.05 MB / 4.277 GB, free: 101.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.298e-05/9.354, allocations: 47.12 kB / 4.277 GB, free: 101.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004447/9.354, allocations: 83.91 kB / 4.277 GB, free: 101.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002532/9.357, allocations: 1.118 MB / 4.278 GB, free: 100.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003017/9.36, allocations: 1.366 MB / 4.28 GB, free: 99.14 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.213e-05/9.36, allocations: 4 kB / 4.28 GB, free: 99.13 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001978/9.36, allocations: 0 / 4.28 GB, free: 99.13 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.354e-05/9.36, allocations: 64.17 kB / 4.28 GB, free: 99.07 MB / 1.151 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.009763/9.37, allocations: 6.16 MB / 4.286 GB, free: 92.72 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/9.371, allocations: 0.8496 MB / 4.287 GB, free: 91.86 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006672/9.372, allocations: 0.5661 MB / 4.287 GB, free: 91.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000573/9.372, allocations: 0.6911 MB / 4.288 GB, free: 90.46 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/9.372, allocations: 47.72 kB / 4.288 GB, free: 90.41 MB / 1.151 GB Notification: Performance of pre-optimization done (n=83): time 3.226e-06/9.372, allocations: 0 / 4.288 GB, free: 90.41 MB / 1.151 GB Notification: Performance of matching and sorting (n=85): time 0.006271/9.379, allocations: 2.717 MB / 4.291 GB, free: 87.64 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.914e-05/9.379, allocations: 196.7 kB / 4.291 GB, free: 87.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003114/9.382, allocations: 1.495 MB / 4.292 GB, free: 85.91 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001854/9.382, allocations: 29.7 kB / 4.292 GB, free: 85.88 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007623/9.383, allocations: 0.9087 MB / 4.293 GB, free: 84.96 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002528/9.383, allocations: 275.8 kB / 4.293 GB, free: 84.69 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.46e-05/9.383, allocations: 2.844 kB / 4.293 GB, free: 84.69 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001012/9.383, allocations: 349.9 kB / 4.294 GB, free: 84.34 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007432/9.384, allocations: 0.561 MB / 4.294 GB, free: 83.78 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008842/9.385, allocations: 0.8149 MB / 4.295 GB, free: 82.88 MB / 1.151 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.004041/9.389, allocations: 2.143 MB / 4.297 GB, free: 80.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/9.389, allocations: 4 kB / 4.297 GB, free: 80.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002548/9.392, allocations: 1.548 MB / 4.299 GB, free: 79.15 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000416/9.392, allocations: 1.649 MB / 4.3 GB, free: 77.36 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/9.392, allocations: 0 / 4.3 GB, free: 77.36 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.946e-05/9.392, allocations: 12 kB / 4.3 GB, free: 77.35 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007194/9.393, allocations: 175.8 kB / 4.3 GB, free: 77.18 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.97e-05/9.393, allocations: 14.19 kB / 4.301 GB, free: 77.17 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001703/9.395, allocations: 98.31 kB / 4.301 GB, free: 77.08 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001572/9.395, allocations: 47.98 kB / 4.301 GB, free: 77.03 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/9.395, allocations: 7.953 kB / 4.301 GB, free: 77.02 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00212/9.397, allocations: 1.455 MB / 4.302 GB, free: 75.57 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/9.397, allocations: 11.62 kB / 4.302 GB, free: 75.56 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/9.397, allocations: 8 kB / 4.302 GB, free: 75.55 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006776/9.398, allocations: 175.8 kB / 4.302 GB, free: 75.38 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/9.398, allocations: 11.94 kB / 4.302 GB, free: 75.37 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/9.399, allocations: 97.72 kB / 4.302 GB, free: 75.28 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001345/9.399, allocations: 55.39 kB / 4.302 GB, free: 75.23 MB / 1.151 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.000324/9.4, allocations: 227.5 kB / 4.303 GB, free: 74.98 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002015/9.402, allocations: 1.178 MB / 4.304 GB, free: 73.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004754/9.402, allocations: 177.8 kB / 4.304 GB, free: 73.62 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002244/9.405, allocations: 1.258 MB / 4.305 GB, free: 72.35 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/9.405, allocations: 11.19 kB / 4.305 GB, free: 72.34 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/9.405, allocations: 0 / 4.305 GB, free: 72.34 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001397/9.406, allocations: 1.361 MB / 4.307 GB, free: 70.89 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006044/9.412, allocations: 3.244 MB / 4.31 GB, free: 67.57 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.889e-06/9.412, allocations: 7.312 kB / 4.31 GB, free: 67.57 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007324/9.413, allocations: 159.8 kB / 4.31 GB, free: 67.41 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.47e-05/9.413, allocations: 8 kB / 4.31 GB, free: 67.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.2e-05/9.413, allocations: 19.98 kB / 4.31 GB, free: 67.38 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.087e-06/9.413, allocations: 11.94 kB / 4.31 GB, free: 67.37 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/9.413, allocations: 12 kB / 4.31 GB, free: 67.36 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002852/9.416, allocations: 2.467 MB / 4.312 GB, free: 64.73 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001138/9.417, allocations: 434.7 kB / 4.313 GB, free: 64.28 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005047/9.418, allocations: 15.98 kB / 4.313 GB, free: 64.27 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/9.419, allocations: 82.02 kB / 4.313 GB, free: 64.19 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002074/9.419, allocations: 104 kB / 4.313 GB, free: 64.09 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.9e-05/9.419, allocations: 39.66 kB / 4.313 GB, free: 64.06 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001693/9.421, allocations: 1.135 MB / 4.314 GB, free: 62.93 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.71e-07/9.421, allocations: 0 / 4.314 GB, free: 62.93 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002982/9.424, allocations: 0.9131 MB / 4.315 GB, free: 62.02 MB / 1.151 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.006087/9.43, allocations: 6.513 MB / 4.321 GB, free: 55.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002984/9.433, allocations: 2.957 MB / 4.324 GB, free: 52.39 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.766e-06/9.433, allocations: 4 kB / 4.324 GB, free: 52.39 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009578/9.434, allocations: 0.9569 MB / 4.325 GB, free: 51.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00447/9.438, allocations: 0.8442 MB / 4.326 GB, free: 50.57 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007172/9.446, allocations: 3.52 MB / 4.329 GB, free: 46.93 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009128/9.447, allocations: 1.56 MB / 4.331 GB, free: 45.33 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00244/9.449, allocations: 0.6025 MB / 4.332 GB, free: 44.73 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007832/9.45, allocations: 0.7375 MB / 4.332 GB, free: 43.99 MB / 1.151 GB Notification: Performance of SimCode: time 7.41e-07/9.45, allocations: 4 kB / 4.332 GB, free: 43.98 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8398/10.29, allocations: 64.76 MB / 4.395 GB, free: 214.1 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000203/10.29, allocations: 186.3 kB / 4.396 GB, free: 213.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.366/14.66, allocations: 0 / 4.396 GB, free: 213.9 MB / 1.167 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