Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00827/0.00827, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.423/2.423, allocations: 437.8 MB / 0.7121 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002766/0.0002766, allocations: 8 kB / 0.873 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5269/0.5272, allocations: 153.8 MB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly): time 0.2012/0.7285, allocations: 222.7 MB / 1.241 GB, free: 440 kB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.5143/1.243, allocations: 14.53 MB / 1.255 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002132/1.245, allocations: 67.72 kB / 1.255 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002321/1.247, allocations: 0.9385 MB / 1.256 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005969/1.253, allocations: 2.494 MB / 1.258 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003936/1.257, allocations: 1.631 MB / 1.26 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00789/1.265, allocations: 6.327 MB / 1.266 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002079/1.267, allocations: 1.55 MB / 1.267 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003898/1.271, allocations: 1.976 MB / 1.269 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001993/1.273, allocations: 1.324 MB / 1.271 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001883/1.273, allocations: 76.34 kB / 1.271 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004048/1.277, allocations: 2.142 MB / 1.273 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005131/1.278, allocations: 0.5808 MB / 1.273 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001067/1.279, allocations: 1.111 MB / 1.275 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003983/1.283, allocations: 4.298 MB / 1.279 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/1.283, allocations: 0 / 1.279 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.365e-06/1.283, allocations: 0 / 1.279 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.459e-05/1.283, allocations: 2.734 kB / 1.279 GB, free: 9.93 MB / 0.9825 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.003234/1.286, allocations: 2.491 MB / 1.281 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/1.286, allocations: 9.719 kB / 1.281 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002002/1.287, allocations: 202.5 kB / 1.281 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001409/1.288, allocations: 388.8 kB / 1.282 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002282/1.29, allocations: 1.898 MB / 1.284 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.96e-05/1.29, allocations: 105.7 kB / 1.284 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001728/1.291, allocations: 140.8 kB / 1.284 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002164/1.293, allocations: 1.617 MB / 1.285 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.507e-05/1.293, allocations: 2.062 kB / 1.285 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/1.293, allocations: 58.55 kB / 1.285 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.855e-05/1.293, allocations: 48.72 kB / 1.285 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001743/1.295, allocations: 1.244 MB / 1.287 GB, free: 7.602 MB / 0.9825 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.006571/1.301, allocations: 6.628 MB / 1.293 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00117/1.302, allocations: 0.9635 MB / 1.294 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007309/1.303, allocations: 0.6306 MB / 1.295 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004286/1.304, allocations: 0.6861 MB / 1.295 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/1.304, allocations: 48.22 kB / 1.295 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 2.625e-06/1.304, allocations: 0 / 1.295 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of matching and sorting (n=84): time 0.00462/1.308, allocations: 3.615 MB / 1.299 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/1.308, allocations: 148.3 kB / 1.299 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002248/1.311, allocations: 2 MB / 1.301 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.356e-05/1.311, allocations: 48.64 kB / 1.301 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005729/1.311, allocations: 0.8855 MB / 1.302 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/1.311, allocations: 286.8 kB / 1.302 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/1.312, allocations: 94.09 kB / 1.302 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 6.172e-05/1.312, allocations: 347 kB / 1.303 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007333/1.312, allocations: 0.6176 MB / 1.303 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008477/1.313, allocations: 0.8537 MB / 1.304 GB, free: 1.801 MB / 0.9825 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.005039/1.318, allocations: 3.925 MB / 1.308 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/1.318, allocations: 0 / 1.308 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002053/1.32, allocations: 1.877 MB / 1.31 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001225/1.32, allocations: 398.5 kB / 1.31 GB, free: 128 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/1.321, allocations: 8.109 kB / 1.31 GB, free: 128 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/1.321, allocations: 8.719 kB / 1.31 GB, free: 128 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000662/1.321, allocations: 181.4 kB / 1.31 GB, free: 124 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/1.321, allocations: 9.031 kB / 1.31 GB, free: 124 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/1.322, allocations: 121.1 kB / 1.31 GB, free: 108 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.752e-05/1.322, allocations: 35.78 kB / 1.311 GB, free: 108 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.481e-06/1.322, allocations: 5.281 kB / 1.311 GB, free: 108 kB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00204/1.325, allocations: 1.87 MB / 1.312 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/1.325, allocations: 6.094 kB / 1.312 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.842e-06/1.325, allocations: 6.438 kB / 1.312 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006381/1.325, allocations: 181.6 kB / 1.313 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/1.325, allocations: 6.438 kB / 1.313 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/1.326, allocations: 118.8 kB / 1.313 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.637e-05/1.326, allocations: 46.14 kB / 1.313 GB, free: 15.89 MB / 0.9981 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: 17 * Number of states: 0 () * Number of discrete variables: 4 (beaCoo.conCoo.mod.airFlo_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.temDif_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 (108): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007857/1.327, allocations: 0.7105 MB / 1.313 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002252/1.327, allocations: 190.2 kB / 1.314 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001917/1.329, allocations: 1.484 MB / 1.315 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/1.329, allocations: 7.969 kB / 1.315 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/1.329, allocations: 4 kB / 1.315 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00158/1.331, allocations: 1.528 MB / 1.317 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004232/1.335, allocations: 3.586 MB / 1.32 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/1.335, allocations: 6.375 kB / 1.32 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006747/1.336, allocations: 164 kB / 1.32 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/1.336, allocations: 9.375 kB / 1.32 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.46e-05/1.336, allocations: 32.97 kB / 1.32 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.534e-06/1.336, allocations: 9.156 kB / 1.32 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.336, allocations: 6.188 kB / 1.32 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002767/1.339, allocations: 2.372 MB / 1.323 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005982/1.339, allocations: 448.7 kB / 1.323 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002155/1.34, allocations: 31.5 kB / 1.323 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/1.341, allocations: 97.81 kB / 1.323 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001734/1.341, allocations: 102.7 kB / 1.323 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.598e-05/1.341, allocations: 32.78 kB / 1.323 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00167/1.343, allocations: 1.402 MB / 1.325 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.61e-07/1.343, allocations: 0 / 1.325 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001858/1.344, allocations: 0.787 MB / 1.325 GB, free: 11.68 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004059/1.349, allocations: 3.223 MB / 1.329 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003239/1.352, allocations: 3.068 MB / 1.332 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/1.352, allocations: 4.062 kB / 1.332 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001126/1.353, allocations: 0.9996 MB / 1.332 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005395/1.358, allocations: 1.017 MB / 1.333 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03037/1.389, allocations: 18.06 MB / 1.351 GB, free: 11.2 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00127/1.39, allocations: 1.522 MB / 1.353 GB, free: 9.641 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001714/1.392, allocations: 438.8 kB / 1.353 GB, free: 9.215 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001079/1.393, allocations: 0.7843 MB / 1.354 GB, free: 8.43 MB / 1.014 GB Notification: Performance of SimCode: time 6.71e-07/1.393, allocations: 4 kB / 1.354 GB, free: 8.426 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.115/1.508, allocations: 54.92 MB / 1.407 GB, free: 2.406 MB / 1.061 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003004/1.508, allocations: 263.1 kB / 1.408 GB, free: 2.109 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.133/4.641, allocations: 0 / 1.408 GB, free: 2.109 MB / 1.061 GB (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1)