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.007725/0.007725, allocations: 101 kB / 15.73 MB, free: 6.039 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.00167/0.001671, allocations: 198.5 kB / 16.68 MB, free: 5.973 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.45/1.45, allocations: 222.9 MB / 240.4 MB, free: 4.195 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8005/0.8005, allocations: 132.2 MB / 422.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 63.02 kB / 0.5814 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2068, allocations: 80.2 MB / 0.6597 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.Examples.HorizontalFinExample): time 0.01187/0.2187, allocations: 8.513 MB / 0.668 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5875/0.8063, allocations: 156.1 MB / 0.8205 GB, free: 3.219 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002098/0.8084, allocations: 38.94 kB / 0.8205 GB, free: 3.219 MB / 0.6387 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.00127/0.8097, allocations: 365.9 kB / 0.8208 GB, free: 3.215 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003638/0.8134, allocations: 0.9029 MB / 0.8217 GB, free: 3.191 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004371/0.8177, allocations: 1.416 MB / 0.8231 GB, free: 3.164 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.009334/0.8271, allocations: 5.25 MB / 0.8282 GB, free: 3.145 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006075/0.8332, allocations: 3.073 MB / 0.8312 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005618/0.8389, allocations: 2.124 MB / 0.8333 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004445/0.8433, allocations: 2.163 MB / 0.8354 GB, free: 2.516 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001789/0.8451, allocations: 0.5267 MB / 0.8359 GB, free: 2.516 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003554/0.8487, allocations: 1.136 MB / 0.837 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001417/0.8502, allocations: 1.164 MB / 0.8382 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003489/0.8537, allocations: 2.23 MB / 0.8404 GB, free: 1.727 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.007605/0.8613, allocations: 6.334 MB / 0.8465 GB, free: 0.8906 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.8613, allocations: 2.438 kB / 0.8466 GB, free: 0.8906 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.352e-06/0.8613, allocations: 0 / 0.8466 GB, free: 0.8906 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002006/0.8615, allocations: 0.9062 kB / 0.8466 GB, free: 0.8906 MB / 0.6387 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.01142/0.873, allocations: 4.601 MB / 0.851 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.873, allocations: 15.78 kB / 0.8511 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009853/0.8829, allocations: 1.366 MB / 0.8524 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005448/0.8884, allocations: 2.424 MB / 0.8548 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005227/0.8889, allocations: 0.5091 MB / 0.8553 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001292/0.8902, allocations: 357.1 kB / 0.8556 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01185/0.9021, allocations: 5.214 MB / 0.8607 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.286e-05/0.9022, allocations: 5.125 kB / 0.8607 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004396/0.9027, allocations: 149.5 kB / 0.8608 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.929e-05/0.9027, allocations: 93.91 kB / 0.8609 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0139/0.9166, allocations: 5.561 MB / 0.8664 GB, free: 11.84 MB / 0.6544 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.03431/0.951, allocations: 19.15 MB / 0.8851 GB, free: 13.49 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01123/0.9623, allocations: 4.471 MB / 0.8894 GB, free: 11.17 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004725/0.967, allocations: 1.889 MB / 0.8913 GB, free: 10.16 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00131/0.9684, allocations: 1.087 MB / 0.8923 GB, free: 8.969 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005547/0.9739, allocations: 2.285 MB / 0.8946 GB, free: 6.668 MB / 0.67 GB Notification: Performance of pre-optimization done (n=259): time 5.42e-06/0.974, allocations: 0 / 0.8946 GB, free: 6.668 MB / 0.67 GB Notification: Performance of matching and sorting (n=259): time 0.0151/0.9891, allocations: 5.816 MB / 0.9002 GB, free: 0.7773 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001591/0.9893, allocations: 213.9 kB / 0.9004 GB, free: 0.5234 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00373/0.993, allocations: 2.222 MB / 0.9026 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0008116/0.9938, allocations: 77.7 kB / 0.9027 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001475/0.9953, allocations: 1.436 MB / 0.9041 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001426/0.9968, allocations: 0.8604 MB / 0.9049 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001207/0.998, allocations: 0.6258 MB / 0.9055 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.769e-05/0.9981, allocations: 301.1 kB / 0.9058 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004172/1.002, allocations: 1.769 MB / 0.9076 GB, free: 9.18 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004841/1.007, allocations: 2.188 MB / 0.9097 GB, free: 6.871 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009274/1.016, allocations: 3.885 MB / 0.9135 GB, free: 2.883 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.285e-05/1.016, allocations: 4 kB / 0.9135 GB, free: 2.879 MB / 0.6856 GB Notification: Performance of matching and sorting (n=338) (initialization): time 0.01199/1.028, allocations: 4.547 MB / 0.9179 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 5.691e-05/1.029, allocations: 33.7 kB / 0.918 GB, free: 14.28 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.312e-05/1.029, allocations: 9.094 kB / 0.918 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006148/1.029, allocations: 105.2 kB / 0.9181 GB, free: 14.17 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004329/1.034, allocations: 0.8296 MB / 0.9189 GB, free: 13.37 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002226/1.036, allocations: 1.705 MB / 0.9206 GB, free: 11.53 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004409/1.04, allocations: 0.4932 MB / 0.921 GB, free: 11.03 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000631/1.041, allocations: 155.8 kB / 0.9212 GB, free: 10.88 MB / 0.7012 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.002214/1.043, allocations: 1.035 MB / 0.9222 GB, free: 9.871 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007759/1.044, allocations: 252.8 kB / 0.9224 GB, free: 9.621 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01108/1.055, allocations: 5.065 MB / 0.9274 GB, free: 4.492 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-05/1.055, allocations: 28 kB / 0.9274 GB, free: 4.465 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/1.055, allocations: 0 / 0.9274 GB, free: 4.465 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.629e-05/1.055, allocations: 11.95 kB / 0.9274 GB, free: 4.453 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01722/1.072, allocations: 8.969 MB / 0.9362 GB, free: 11.35 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/1.072, allocations: 0 / 0.9362 GB, free: 11.35 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003393/1.076, allocations: 0.6873 MB / 0.9369 GB, free: 10.69 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004505/1.076, allocations: 80.78 kB / 0.9369 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002934/1.077, allocations: 79.94 kB / 0.937 GB, free: 10.53 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002054/1.079, allocations: 1.73 MB / 0.9387 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.079, allocations: 0 / 0.9387 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01069/1.089, allocations: 3.972 MB / 0.9426 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001857/1.091, allocations: 0.8171 MB / 0.9434 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005678/1.092, allocations: 75.59 kB / 0.9434 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00273/1.095, allocations: 307.6 kB / 0.9437 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004281/1.095, allocations: 209 kB / 0.9439 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002419/1.095, allocations: 99.94 kB / 0.944 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002482/1.098, allocations: 1.695 MB / 0.9457 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/1.098, allocations: 0 / 0.9457 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002989/1.101, allocations: 1.028 MB / 0.9467 GB, free: 368 kB / 0.7169 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.001718/1.102, allocations: 0.7032 MB / 0.9474 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.009431/1.112, allocations: 4.123 MB / 0.9514 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/1.112, allocations: 0 / 0.9514 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.004393/1.116, allocations: 2.065 MB / 0.9534 GB, free: 9.762 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002666/1.119, allocations: 0.4916 MB / 0.9539 GB, free: 9.293 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01432/1.133, allocations: 7.306 MB / 0.961 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001979/1.135, allocations: 2.513 MB / 0.9635 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.003705/1.139, allocations: 0.9566 MB / 0.9644 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001237/1.14, allocations: 347.1 kB / 0.9648 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of SimCode: time 6.41e-07/1.14, allocations: 0 / 0.9648 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of Templates: time 0.07923/1.22, allocations: 46.83 MB / 1.01 GB, free: 15.76 MB / 0.795 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)