Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Buildings.Components.Examples.HorizontalFinExample.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/IDEAS 3.0.0/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: translateModel(IDEAS.Buildings.Components.Examples.HorizontalFinExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Buildings.Components.Examples.HorizontalFinExample") translateModel(IDEAS.Buildings.Components.Examples.HorizontalFinExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Buildings.Components.Examples.HorizontalFinExample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8055/0.8055, allocations: 132.2 MB / 148.9 MB, free: 12.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 222.9 MB / 403.3 MB, free: 7.09 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 105.7 kB / 484.3 MB, free: 8.727 MB / 394.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.001023/0.001023, allocations: 55.92 kB / 0.5619 GB, free: 71.07 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1697, allocations: 80.2 MB / 0.6402 GB, free: 6.805 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.Examples.HorizontalFinExample): time 0.01123/0.181, allocations: 8.44 MB / 0.6484 GB, free: 14.31 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.5635/0.7446, allocations: 153.8 MB / 0.7986 GB, free: 1.051 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002316/0.747, allocations: 35.81 kB / 0.7986 GB, free: 1.016 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/BoundaryConditions/Interfaces/PartialSimInfoManager.mo:151:3-154:55:writable] Warning: Connector weaBus is not balanced: The number of potential variables (20) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Buildings/Components/Examples/HorizontalFinExample.mo:7:3-8:71:writable] Warning: Connector weaBus is not balanced: The number of potential variables (20) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.001224/0.7482, allocations: 277.8 kB / 0.7989 GB, free: 0.7422 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.003219/0.7515, allocations: 0.7531 MB / 0.7996 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.003412/0.7549, allocations: 1.24 MB / 0.8009 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.005885/0.7608, allocations: 4.952 MB / 0.8057 GB, free: 9.789 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003923/0.7648, allocations: 2.942 MB / 0.8086 GB, free: 6.781 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004237/0.769, allocations: 1.696 MB / 0.8102 GB, free: 5.09 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003143/0.7722, allocations: 1.928 MB / 0.8121 GB, free: 3.152 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0009312/0.7731, allocations: 244 kB / 0.8123 GB, free: 2.914 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002287/0.7754, allocations: 0.8312 MB / 0.8132 GB, free: 2.082 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0008301/0.7763, allocations: 0.8441 MB / 0.814 GB, free: 1.234 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.002695/0.779, allocations: 1.923 MB / 0.8159 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.00704/0.786, allocations: 5.959 MB / 0.8217 GB, free: 9.324 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.7861, allocations: 0 / 0.8217 GB, free: 9.324 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.964e-06/0.7861, allocations: 0 / 0.8217 GB, free: 9.324 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.000202/0.7863, allocations: 0 / 0.8217 GB, free: 9.324 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 937 * Number of variables: 937 Notification: Performance of Generate backend data structure: time 0.01183/0.7981, allocations: 4.598 MB / 0.8262 GB, free: 4.648 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.7982, allocations: 8.031 kB / 0.8262 GB, free: 4.641 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009768/0.808, allocations: 1.372 MB / 0.8275 GB, free: 3.262 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006414/0.8145, allocations: 2.385 MB / 0.8298 GB, free: 0.8242 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000555/0.8151, allocations: 0.5087 MB / 0.8303 GB, free: 272 kB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001353/0.8164, allocations: 360 kB / 0.8307 GB, free: 15.91 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01251/0.829, allocations: 5.203 MB / 0.8358 GB, free: 10.61 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.764e-05/0.8291, allocations: 11.92 kB / 0.8358 GB, free: 10.6 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004064/0.8295, allocations: 151.9 kB / 0.8359 GB, free: 10.45 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.888e-05/0.8296, allocations: 88 kB / 0.836 GB, free: 10.37 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01412/0.8437, allocations: 5.566 MB / 0.8414 GB, free: 4.793 MB / 0.573 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.04003/0.8838, allocations: 19.29 MB / 0.8603 GB, free: 244 kB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01293/0.8968, allocations: 4.464 MB / 0.8646 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004964/0.9018, allocations: 1.888 MB / 0.8665 GB, free: 9.871 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001427/0.9033, allocations: 1.081 MB / 0.8675 GB, free: 8.566 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006135/0.9094, allocations: 2.282 MB / 0.8698 GB, free: 6.234 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=259): time 7.164e-06/0.9095, allocations: 4 kB / 0.8698 GB, free: 6.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=259): time 0.01831/0.9278, allocations: 5.816 MB / 0.8754 GB, free: 344 kB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001499/0.928, allocations: 210 kB / 0.8756 GB, free: 88 kB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004489/0.9325, allocations: 2.219 MB / 0.8778 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0006285/0.9332, allocations: 73.7 kB / 0.8779 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001529/0.9347, allocations: 1.446 MB / 0.8793 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.001354/0.9361, allocations: 0.8587 MB / 0.8801 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001978/0.9381, allocations: 0.6219 MB / 0.8807 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.945e-05/0.9382, allocations: 305.1 kB / 0.881 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004791/0.943, allocations: 1.769 MB / 0.8828 GB, free: 8.711 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005312/0.9483, allocations: 2.184 MB / 0.8849 GB, free: 6.402 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009947/0.9583, allocations: 3.889 MB / 0.8887 GB, free: 2.383 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-05/0.9584, allocations: 0 / 0.8887 GB, free: 2.383 MB / 0.6198 GB Notification: Performance of matching and sorting (n=338) (initialization): time 0.01324/0.9716, allocations: 4.546 MB / 0.8931 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.507e-05/0.9717, allocations: 37.64 kB / 0.8932 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.787e-05/0.9718, allocations: 12 kB / 0.8932 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006491/0.9724, allocations: 96.89 kB / 0.8933 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0043/0.9768, allocations: 0.8345 MB / 0.8941 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002223/0.979, allocations: 1.589 MB / 0.8956 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004576/0.9836, allocations: 0.5086 MB / 0.8961 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009184/0.9845, allocations: 155.8 kB / 0.8963 GB, free: 10.4 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 19 (sim.weaDat.conTim.canRepeatWeatherFile,sim.weaDat.conTimMin.canRepeatWeatherFile,sim.radSol[1].solAzi.outsidePolarCircle,sim.radSol[2].solAzi.outsidePolarCircle,sim.radSol[3].solAzi.outsidePolarCircle,sim.radSol[4].solAzi.outsidePolarCircle,sim.radSol[5].solAzi.outsidePolarCircle,sim.radSol[6].solAzi.outsidePolarCircle,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,sim.weaDat.conTim.tNext,$PRE.sim.weaDat.conTim.tNext,sim.weaDat.conTimMin.tNext,$PRE.sim.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (335): * Single equations (assignments): 333 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.003097/0.9877, allocations: 1.028 MB / 0.8973 GB, free: 9.367 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001334/0.989, allocations: 252.8 kB / 0.8975 GB, free: 9.117 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01466/1.004, allocations: 5.078 MB / 0.9025 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.662e-05/1.004, allocations: 28 kB / 0.9025 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/1.004, allocations: 0 / 0.9025 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.977e-05/1.004, allocations: 11.95 kB / 0.9025 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02191/1.026, allocations: 9.022 MB / 0.9113 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/1.026, allocations: 0 / 0.9113 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00368/1.029, allocations: 0.6865 MB / 0.912 GB, free: 9.969 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006096/1.03, allocations: 92.77 kB / 0.9121 GB, free: 9.875 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005475/1.031, allocations: 79.94 kB / 0.9122 GB, free: 9.797 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002031/1.033, allocations: 1.598 MB / 0.9137 GB, free: 8.059 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.033, allocations: 4 kB / 0.9137 GB, free: 8.055 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01725/1.05, allocations: 7.143 MB / 0.9207 GB, free: 0.7773 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002762/1.053, allocations: 0.8248 MB / 0.9215 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001235/1.054, allocations: 75.69 kB / 0.9216 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003809/1.058, allocations: 308.7 kB / 0.9219 GB, free: 15.55 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008554/1.059, allocations: 198 kB / 0.9221 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005364/1.059, allocations: 103.9 kB / 0.9222 GB, free: 15.26 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.003866/1.063, allocations: 1.703 MB / 0.9238 GB, free: 13.54 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.3e-07/1.063, allocations: 0 / 0.9238 GB, free: 13.54 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004624/1.068, allocations: 1.032 MB / 0.9248 GB, free: 12.51 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,sim.weaDat.conTimMin.tNext,sim.weaDat.conTim.tNext,pulse.T_start,pulse.count) * Number of discrete states: 3 (pulse.count,sim.weaDat.conTimMin.tNext,sim.weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 291 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002277/1.07, allocations: 0.6977 MB / 0.9255 GB, free: 11.98 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.01102/1.081, allocations: 4.115 MB / 0.9295 GB, free: 7.816 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/1.081, allocations: 0 / 0.9295 GB, free: 7.816 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.005396/1.087, allocations: 2.069 MB / 0.9316 GB, free: 5.73 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004805/1.092, allocations: 475.9 kB / 0.932 GB, free: 5.266 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02177/1.113, allocations: 10.56 MB / 0.9423 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003884/1.117, allocations: 2.606 MB / 0.9449 GB, free: 8.012 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.004949/1.122, allocations: 0.9765 MB / 0.9458 GB, free: 7.031 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001413/1.124, allocations: 339.1 kB / 0.9461 GB, free: 6.699 MB / 0.6823 GB Notification: Performance of SimCode: time 7.82e-07/1.124, allocations: 0 / 0.9461 GB, free: 6.699 MB / 0.6823 GB Notification: Performance of Templates: time 0.4197/1.543, allocations: 45.74 MB / 0.9908 GB, free: 235.8 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Buildings.Components.Examples.HorizontalFinExample.makefile (rm -f IDEAS_IDEAS.Buildings.Components.Examples.HorizontalFinExample.pipe ; mkfifo IDEAS_IDEAS.Buildings.Components.Examples.HorizontalFinExample.pipe ; head -c 1048576 < IDEAS_IDEAS.Buildings.Components.Examples.HorizontalFinExample.pipe >> ../files/IDEAS_IDEAS.Buildings.Components.Examples.HorizontalFinExample.sim & ./IDEAS_IDEAS.Buildings.Components.Examples.HorizontalFinExample -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Buildings.Components.Examples.HorizontalFinExample.pipe 2>&1)