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/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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001397/0.001398, allocations: 195.7 kB / 16.14 MB, free: 6.664 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.365/1.365, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7572/0.7572, allocations: 132.2 MB / 422.2 MB, free: 2.016 MB / 350.1 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.001267/0.001266, allocations: 64.05 kB / 0.5011 GB, free: 4.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4822/0.4835, allocations: 80.19 MB / 0.5794 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.Examples.HorizontalFinExample): time 0.01074/0.4943, allocations: 8.446 MB / 0.5877 GB, free: 14.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1997/0.694, allocations: 153.8 MB / 0.7379 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003535/0.6976, allocations: 35.81 kB / 0.7379 GB, free: 14.92 MB / 0.5762 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.001801/0.6995, allocations: 273.8 kB / 0.7382 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004422/0.7039, allocations: 0.7491 MB / 0.7389 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003975/0.7079, allocations: 1.241 MB / 0.7401 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007324/0.7152, allocations: 4.912 MB / 0.7449 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005682/0.721, allocations: 2.933 MB / 0.7478 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004568/0.7256, allocations: 1.693 MB / 0.7494 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003165/0.7288, allocations: 1.921 MB / 0.7513 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001126/0.7299, allocations: 248 kB / 0.7515 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002495/0.7324, allocations: 0.8235 MB / 0.7524 GB, free: 52 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009655/0.7334, allocations: 0.8558 MB / 0.7532 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002606/0.736, allocations: 1.923 MB / 0.7551 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006667/0.7427, allocations: 5.948 MB / 0.7609 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.7427, allocations: 0 / 0.7609 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.385e-06/0.7428, allocations: 0 / 0.7609 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002275/0.743, allocations: 0 / 0.7609 GB, free: 7.293 MB / 0.5919 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.0115/0.7545, allocations: 4.611 MB / 0.7654 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.7546, allocations: 8.031 kB / 0.7654 GB, free: 2.598 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0101/0.7647, allocations: 1.364 MB / 0.7667 GB, free: 1.227 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005376/0.7701, allocations: 2.378 MB / 0.769 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004642/0.7706, allocations: 0.5087 MB / 0.7695 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001021/0.7716, allocations: 360 kB / 0.7699 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01364/0.7853, allocations: 5.216 MB / 0.775 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001038/0.7854, allocations: 7.938 kB / 0.775 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009425/0.7864, allocations: 152 kB / 0.7751 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-05/0.7865, allocations: 88 kB / 0.7752 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01506/0.8015, allocations: 5.558 MB / 0.7806 GB, free: 2.762 MB / 0.6075 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.03767/0.8393, allocations: 19.3 MB / 0.7995 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0129/0.8522, allocations: 4.457 MB / 0.8038 GB, free: 9.734 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005025/0.8573, allocations: 1.877 MB / 0.8057 GB, free: 7.848 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001406/0.8587, allocations: 1.093 MB / 0.8067 GB, free: 6.531 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006753/0.8655, allocations: 2.275 MB / 0.809 GB, free: 4.207 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=259): time 7.814e-06/0.8656, allocations: 4 kB / 0.809 GB, free: 4.203 MB / 0.6387 GB Notification: Performance of matching and sorting (n=259): time 0.3552/1.221, allocations: 5.82 MB / 0.8146 GB, free: 214.4 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/1.221, allocations: 211.3 kB / 0.8148 GB, free: 214.1 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003543/1.224, allocations: 2.216 MB / 0.817 GB, free: 213.3 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0007225/1.225, allocations: 71.73 kB / 0.8171 GB, free: 213.3 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001246/1.226, allocations: 1.444 MB / 0.8185 GB, free: 212.5 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009871/1.227, allocations: 0.8663 MB / 0.8193 GB, free: 211.8 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00117/1.229, allocations: 0.6184 MB / 0.8199 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.033e-05/1.229, allocations: 301.8 kB / 0.8202 GB, free: 211.3 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004452/1.233, allocations: 1.776 MB / 0.822 GB, free: 210.7 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005005/1.238, allocations: 2.181 MB / 0.8241 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00996/1.248, allocations: 3.896 MB / 0.8279 GB, free: 208.1 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.541e-05/1.248, allocations: 5.25 kB / 0.8279 GB, free: 208.1 MB / 0.6387 GB Notification: Performance of matching and sorting (n=338) (initialization): time 0.0138/1.262, allocations: 4.543 MB / 0.8323 GB, free: 206.5 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.477e-05/1.262, allocations: 33.45 kB / 0.8324 GB, free: 206.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.222e-05/1.262, allocations: 6.312 kB / 0.8324 GB, free: 206.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006508/1.263, allocations: 102.5 kB / 0.8325 GB, free: 206.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004359/1.267, allocations: 0.8286 MB / 0.8333 GB, free: 206.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001919/1.269, allocations: 1.59 MB / 0.8348 GB, free: 204.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004495/1.274, allocations: 0.5117 MB / 0.8353 GB, free: 204.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008036/1.274, allocations: 153.6 kB / 0.8355 GB, free: 204.7 MB / 0.6387 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.00266/1.277, allocations: 1.027 MB / 0.8365 GB, free: 204.2 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001206/1.278, allocations: 255.3 kB / 0.8367 GB, free: 204 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01229/1.291, allocations: 5.08 MB / 0.8417 GB, free: 201.2 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.848e-05/1.291, allocations: 28.34 kB / 0.8417 GB, free: 201.2 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/1.291, allocations: 0 / 0.8417 GB, free: 201.2 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-05/1.291, allocations: 11.95 kB / 0.8417 GB, free: 201.2 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01636/1.307, allocations: 9.018 MB / 0.8505 GB, free: 195.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/1.307, allocations: 0 / 0.8505 GB, free: 195.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003164/1.31, allocations: 0.6865 MB / 0.8512 GB, free: 194.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005252/1.311, allocations: 88.78 kB / 0.8513 GB, free: 194.4 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002709/1.311, allocations: 87.86 kB / 0.8514 GB, free: 194.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001542/1.313, allocations: 1.595 MB / 0.8529 GB, free: 192.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/1.313, allocations: 4 kB / 0.8529 GB, free: 192.6 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008329/1.321, allocations: 3.965 MB / 0.8568 GB, free: 188.5 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001801/1.323, allocations: 0.817 MB / 0.8576 GB, free: 187.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008808/1.324, allocations: 75.69 kB / 0.8577 GB, free: 187.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003081/1.327, allocations: 317.1 kB / 0.858 GB, free: 187.3 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004417/1.327, allocations: 206.1 kB / 0.8582 GB, free: 187.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002465/1.328, allocations: 100.8 kB / 0.8583 GB, free: 187 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00266/1.33, allocations: 1.695 MB / 0.8599 GB, free: 185.3 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.71e-07/1.33, allocations: 0 / 0.8599 GB, free: 185.3 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00304/1.333, allocations: 1.029 MB / 0.8609 GB, free: 184.3 MB / 0.6387 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.001709/1.335, allocations: 0.6985 MB / 0.8616 GB, free: 183.9 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.008636/1.344, allocations: 4.127 MB / 0.8656 GB, free: 179.7 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.269e-06/1.344, allocations: 0 / 0.8656 GB, free: 179.7 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00404/1.348, allocations: 2.054 MB / 0.8677 GB, free: 177.6 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003065/1.351, allocations: 481.8 kB / 0.8681 GB, free: 177.1 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0143/1.365, allocations: 9.035 MB / 0.8769 GB, free: 168.1 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002538/1.368, allocations: 2.522 MB / 0.8794 GB, free: 165.5 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004776/1.373, allocations: 0.9688 MB / 0.8803 GB, free: 164.5 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001872/1.375, allocations: 339.1 kB / 0.8807 GB, free: 164.2 MB / 0.6387 GB Notification: Performance of SimCode: time 9.62e-07/1.375, allocations: 0 / 0.8807 GB, free: 164.2 MB / 0.6387 GB Notification: Performance of Templates: time 0.05931/1.434, allocations: 44.35 MB / 0.924 GB, free: 120.2 MB / 0.6387 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)