Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_IDEAS.Buildings.Components.Examples.HorizontalFinExample") translateModel(IDEAS.Buildings.Components.Examples.HorizontalFinExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001327/0.001327, allocations: 182.1 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-master/package.mo): time 0.7006/0.7006, allocations: 133.3 MB / 150.1 MB, free: 11.14 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.334/1.334, allocations: 222.9 MB / 404.7 MB, free: 6.062 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.001031/0.001031, allocations: 99.31 kB / 485.9 MB, free: 7.188 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.0009836/0.0009838, allocations: 51.92 kB / 0.5636 GB, free: 69.93 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.142, allocations: 80.43 MB / 0.6421 GB, free: 5.434 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.Examples.HorizontalFinExample): time 0.01337/0.1554, allocations: 13.08 MB / 0.6549 GB, free: 8.277 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.4397/0.5951, allocations: 155 MB / 0.8063 GB, free: 9.18 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003004/0.5982, allocations: 79.62 kB / 0.8064 GB, free: 9.102 MB / 0.5417 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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-master/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.001464/0.5997, allocations: 337.3 kB / 0.8067 GB, free: 8.77 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.002995/0.6027, allocations: 0.8198 MB / 0.8075 GB, free: 7.949 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.003613/0.6063, allocations: 1.325 MB / 0.8088 GB, free: 6.637 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.005948/0.6123, allocations: 5.315 MB / 0.814 GB, free: 1.305 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00397/0.6163, allocations: 3.014 MB / 0.817 GB, free: 14.23 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003935/0.6203, allocations: 1.77 MB / 0.8187 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00268/0.623, allocations: 1.983 MB / 0.8206 GB, free: 10.47 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0006143/0.6236, allocations: 248 kB / 0.8209 GB, free: 10.23 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001952/0.6255, allocations: 0.8196 MB / 0.8217 GB, free: 9.41 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0008211/0.6264, allocations: 0.879 MB / 0.8225 GB, free: 8.527 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.002353/0.6287, allocations: 2.004 MB / 0.8245 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.006065/0.6348, allocations: 6.103 MB / 0.8304 GB, free: 400 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.6349, allocations: 0 / 0.8304 GB, free: 400 kB / 0.5573 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6349, allocations: 0 / 0.8304 GB, free: 400 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001545/0.635, allocations: 0 / 0.8304 GB, free: 400 kB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 965 * Number of variables: 965 Notification: Performance of Generate backend data structure: time 0.01047/0.6455, allocations: 4.784 MB / 0.8351 GB, free: 11.53 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.6456, allocations: 8.031 kB / 0.8351 GB, free: 11.52 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009351/0.6549, allocations: 1.395 MB / 0.8365 GB, free: 10.12 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006045/0.661, allocations: 2.478 MB / 0.8389 GB, free: 7.562 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007853/0.6619, allocations: 0.5206 MB / 0.8394 GB, free: 6.992 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001983/0.6638, allocations: 368 kB / 0.8398 GB, free: 6.633 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01861/0.6825, allocations: 5.319 MB / 0.845 GB, free: 1.207 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.664e-05/0.6826, allocations: 7.938 kB / 0.845 GB, free: 1.199 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006289/0.6833, allocations: 159.9 kB / 0.8451 GB, free: 1.043 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.519e-05/0.6834, allocations: 92 kB / 0.8452 GB, free: 0.9531 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01494/0.6984, allocations: 5.64 MB / 0.8507 GB, free: 11.3 MB / 0.5886 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.03161/0.73, allocations: 19.89 MB / 0.8701 GB, free: 6.137 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01166/0.7417, allocations: 4.527 MB / 0.8746 GB, free: 1.602 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00483/0.7466, allocations: 1.989 MB / 0.8765 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001201/0.7478, allocations: 1.085 MB / 0.8776 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005206/0.753, allocations: 2.319 MB / 0.8798 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=267): time 4.408e-06/0.7531, allocations: 0 / 0.8798 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=267): time 0.01504/0.7681, allocations: 5.915 MB / 0.8856 GB, free: 5.926 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.108e-05/0.7682, allocations: 214 kB / 0.8858 GB, free: 5.672 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003006/0.7713, allocations: 2.371 MB / 0.8881 GB, free: 3.277 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0004529/0.7717, allocations: 73.7 kB / 0.8882 GB, free: 3.199 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001185/0.7729, allocations: 1.556 MB / 0.8897 GB, free: 1.625 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000897/0.7738, allocations: 0.8856 MB / 0.8906 GB, free: 0.7266 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001056/0.7749, allocations: 0.6379 MB / 0.8912 GB, free: 84 kB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.438e-05/0.775, allocations: 305.1 kB / 0.8915 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004225/0.7792, allocations: 1.805 MB / 0.8932 GB, free: 13.97 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00477/0.784, allocations: 2.265 MB / 0.8955 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00903/0.7931, allocations: 4.014 MB / 0.8994 GB, free: 7.395 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/0.7931, allocations: 0 / 0.8994 GB, free: 7.395 MB / 0.6355 GB Notification: Performance of matching and sorting (n=354) (initialization): time 0.01172/0.8048, allocations: 4.668 MB / 0.9039 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.272e-05/0.8049, allocations: 37.69 kB / 0.904 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.795e-05/0.8049, allocations: 8 kB / 0.904 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006126/0.8056, allocations: 101.4 kB / 0.9041 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004217/0.8098, allocations: 0.8579 MB / 0.9049 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002053/0.8119, allocations: 1.594 MB / 0.9065 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004217/0.8161, allocations: 0.5164 MB / 0.907 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005364/0.8167, allocations: 163.8 kB / 0.9071 GB, free: 15.25 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (351): * Single equations (assignments): 349 * 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.002079/0.8187, allocations: 1.05 MB / 0.9082 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007658/0.8195, allocations: 276.5 kB / 0.9084 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01229/0.8318, allocations: 5.159 MB / 0.9135 GB, free: 8.691 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.843e-05/0.8319, allocations: 35.92 kB / 0.9135 GB, free: 8.656 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.8319, allocations: 0 / 0.9135 GB, free: 8.656 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.984e-05/0.8319, allocations: 11.95 kB / 0.9135 GB, free: 8.645 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01785/0.8498, allocations: 9.195 MB / 0.9225 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.948e-06/0.8498, allocations: 0 / 0.9225 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00347/0.8533, allocations: 0.7021 MB / 0.9232 GB, free: 14.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005554/0.8539, allocations: 96.77 kB / 0.9233 GB, free: 14.4 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002657/0.8542, allocations: 75.94 kB / 0.9233 GB, free: 14.32 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001836/0.856, allocations: 1.618 MB / 0.9249 GB, free: 12.57 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.856, allocations: 7.984 kB / 0.9249 GB, free: 12.56 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01524/0.8713, allocations: 7.299 MB / 0.9321 GB, free: 5.133 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001808/0.8731, allocations: 0.8363 MB / 0.9329 GB, free: 4.273 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004648/0.8736, allocations: 79.58 kB / 0.9329 GB, free: 4.195 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002811/0.8764, allocations: 312.6 kB / 0.9332 GB, free: 3.891 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004206/0.8769, allocations: 210 kB / 0.9334 GB, free: 3.684 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002362/0.8771, allocations: 103.9 kB / 0.9335 GB, free: 3.582 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.002407/0.8795, allocations: 1.786 MB / 0.9353 GB, free: 1.789 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8795, allocations: 0 / 0.9353 GB, free: 1.789 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002698/0.8822, allocations: 1.071 MB / 0.9363 GB, free: 0.7148 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 (304): * Single equations (assignments): 299 * 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.001558/0.8838, allocations: 0.7062 MB / 0.937 GB, free: 192 kB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.009552/0.8934, allocations: 4.206 MB / 0.9411 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.8934, allocations: 4 kB / 0.9411 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.004579/0.898, allocations: 2.086 MB / 0.9432 GB, free: 9.82 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002698/0.9007, allocations: 0.5006 MB / 0.9437 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2481/1.149, allocations: 10.99 MB / 0.9544 GB, free: 249.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00317/1.152, allocations: 2.675 MB / 0.957 GB, free: 248.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.004441/1.156, allocations: 0.988 MB / 0.958 GB, free: 248.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001553/1.158, allocations: 351.1 kB / 0.9583 GB, free: 248.6 MB / 0.6823 GB Notification: Performance of SimCode: time 1.994e-06/1.158, allocations: 0 / 0.9583 GB, free: 248.6 MB / 0.6823 GB Notification: Performance of Templates: time 0.07412/1.232, allocations: 47 MB / 1.004 GB, free: 223 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Buildings.Components.Examples.HorizontalFinExample.makefile (rm -f IDEAS_dev_IDEAS.Buildings.Components.Examples.HorizontalFinExample.pipe ; mkfifo IDEAS_dev_IDEAS.Buildings.Components.Examples.HorizontalFinExample.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Buildings.Components.Examples.HorizontalFinExample.pipe >> ../files/IDEAS_dev_IDEAS.Buildings.Components.Examples.HorizontalFinExample.sim & ./IDEAS_dev_IDEAS.Buildings.Components.Examples.HorizontalFinExample -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Buildings.Components.Examples.HorizontalFinExample.pipe 2>&1)