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.001318/0.001318, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 198.2 kB / 16.53 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.257/1.257, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6977/0.6977, allocations: 132.2 MB / 422.6 MB, free: 1.738 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.001352/0.001352, allocations: 68.97 kB / 0.5018 GB, free: 3.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3977/0.399, allocations: 80.19 MB / 0.5801 GB, free: 4.531 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.Examples.HorizontalFinExample): time 0.008758/0.4078, allocations: 8.502 MB / 0.5884 GB, free: 14.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1625/0.5703, allocations: 156.2 MB / 0.7409 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002099/0.5725, allocations: 39.81 kB / 0.7409 GB, free: 12.21 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.001328/0.5738, allocations: 352.5 kB / 0.7413 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003367/0.5772, allocations: 0.8922 MB / 0.7421 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003244/0.5805, allocations: 1.405 MB / 0.7435 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005587/0.5861, allocations: 5.202 MB / 0.7486 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00401/0.5901, allocations: 3.086 MB / 0.7516 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003397/0.5935, allocations: 2.084 MB / 0.7536 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002908/0.5964, allocations: 2.151 MB / 0.7557 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001261/0.5977, allocations: 0.5273 MB / 0.7562 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00262/0.6003, allocations: 1.109 MB / 0.7573 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0015/0.6018, allocations: 1.164 MB / 0.7585 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003247/0.6051, allocations: 2.232 MB / 0.7606 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006712/0.6118, allocations: 6.178 MB / 0.7667 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.6118, allocations: 0 / 0.7667 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of FrontEnd: time 9.82e-07/0.6118, allocations: 0 / 0.7667 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001911/0.612, allocations: 0 / 0.7667 GB, free: 1.719 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.01035/0.6224, allocations: 4.598 MB / 0.7712 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.6225, allocations: 8.031 kB / 0.7712 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009203/0.6317, allocations: 1.364 MB / 0.7725 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004355/0.636, allocations: 2.378 MB / 0.7748 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004597/0.6365, allocations: 0.5048 MB / 0.7753 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009787/0.6375, allocations: 360 kB / 0.7757 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01148/0.649, allocations: 5.216 MB / 0.7808 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.308e-05/0.6491, allocations: 7.938 kB / 0.7808 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006407/0.6498, allocations: 156 kB / 0.7809 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-05/0.6498, allocations: 88 kB / 0.781 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01221/0.6621, allocations: 5.554 MB / 0.7864 GB, free: 13.21 MB / 0.6231 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.02814/0.6902, allocations: 19.31 MB / 0.8053 GB, free: 8.629 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01074/0.701, allocations: 4.457 MB / 0.8096 GB, free: 4.164 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004033/0.7051, allocations: 1.884 MB / 0.8115 GB, free: 2.27 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001128/0.7062, allocations: 1.081 MB / 0.8125 GB, free: 0.9648 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3033/1.01, allocations: 2.277 MB / 0.8148 GB, free: 214.6 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=259): time 1.151e-05/1.01, allocations: 0 / 0.8148 GB, free: 214.6 MB / 0.6387 GB Notification: Performance of matching and sorting (n=259): time 0.01588/1.025, allocations: 5.822 MB / 0.8204 GB, free: 212.8 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.841e-05/1.026, allocations: 210.3 kB / 0.8206 GB, free: 212.6 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003312/1.029, allocations: 2.218 MB / 0.8228 GB, free: 211.8 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002492/1.029, allocations: 80.7 kB / 0.8229 GB, free: 211.7 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.00106/1.03, allocations: 1.434 MB / 0.8243 GB, free: 210.8 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005777/1.031, allocations: 0.8692 MB / 0.8251 GB, free: 210.1 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009082/1.032, allocations: 0.6188 MB / 0.8257 GB, free: 209.9 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.286e-05/1.032, allocations: 305.1 kB / 0.826 GB, free: 209.6 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003755/1.036, allocations: 1.775 MB / 0.8278 GB, free: 209 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004008/1.04, allocations: 2.18 MB / 0.8299 GB, free: 208 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007619/1.047, allocations: 3.899 MB / 0.8337 GB, free: 206.4 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.064e-05/1.047, allocations: 2.281 kB / 0.8337 GB, free: 206.4 MB / 0.6387 GB Notification: Performance of matching and sorting (n=338) (initialization): time 0.009758/1.057, allocations: 4.537 MB / 0.8381 GB, free: 204.3 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.264e-05/1.057, allocations: 34.58 kB / 0.8382 GB, free: 204.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.971e-05/1.057, allocations: 11.19 kB / 0.8382 GB, free: 204.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005951/1.058, allocations: 99.33 kB / 0.8383 GB, free: 204.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003623/1.061, allocations: 0.8326 MB / 0.8391 GB, free: 203.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001678/1.063, allocations: 1.699 MB / 0.8407 GB, free: 202.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003469/1.067, allocations: 0.5029 MB / 0.8412 GB, free: 201.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000298/1.067, allocations: 156.4 kB / 0.8414 GB, free: 201.9 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.001801/1.069, allocations: 1.027 MB / 0.8424 GB, free: 201.2 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007194/1.069, allocations: 257.2 kB / 0.8426 GB, free: 201.1 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01012/1.079, allocations: 5.074 MB / 0.8476 GB, free: 198.2 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.696e-05/1.08, allocations: 26.62 kB / 0.8476 GB, free: 198.2 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/1.08, allocations: 7.781 kB / 0.8476 GB, free: 198.2 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.33e-05/1.08, allocations: 14.25 kB / 0.8476 GB, free: 198.2 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01366/1.093, allocations: 9.015 MB / 0.8564 GB, free: 189.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/1.093, allocations: 0 / 0.8564 GB, free: 189.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002819/1.096, allocations: 0.6904 MB / 0.8571 GB, free: 188.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004027/1.097, allocations: 80.78 kB / 0.8572 GB, free: 188.4 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001756/1.097, allocations: 79.94 kB / 0.8573 GB, free: 188.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001436/1.098, allocations: 1.717 MB / 0.8589 GB, free: 186.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.098, allocations: 0 / 0.8589 GB, free: 186.5 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007657/1.106, allocations: 3.968 MB / 0.8628 GB, free: 182.4 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001338/1.107, allocations: 0.8209 MB / 0.8636 GB, free: 181.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006462/1.108, allocations: 74.31 kB / 0.8637 GB, free: 181.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002505/1.11, allocations: 307.7 kB / 0.864 GB, free: 181.2 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003212/1.111, allocations: 202 kB / 0.8642 GB, free: 181 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001749/1.111, allocations: 99.94 kB / 0.8643 GB, free: 180.9 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00179/1.113, allocations: 1.695 MB / 0.8659 GB, free: 179.2 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/1.113, allocations: 0 / 0.8659 GB, free: 179.2 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00219/1.115, allocations: 1.032 MB / 0.8669 GB, free: 178.2 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.001387/1.116, allocations: 0.7092 MB / 0.8676 GB, free: 177.7 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01547/1.132, allocations: 6.886 MB / 0.8743 GB, free: 170.8 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/1.132, allocations: 0 / 0.8743 GB, free: 170.8 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003915/1.136, allocations: 2.058 MB / 0.8764 GB, free: 168.8 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002784/1.139, allocations: 0.4996 MB / 0.8768 GB, free: 168.3 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01213/1.151, allocations: 7.374 MB / 0.884 GB, free: 160.9 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001793/1.152, allocations: 2.521 MB / 0.8865 GB, free: 158.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003697/1.156, allocations: 0.961 MB / 0.8874 GB, free: 157.4 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001343/1.158, allocations: 343.1 kB / 0.8878 GB, free: 157 MB / 0.6387 GB Notification: Performance of SimCode: time 6.01e-07/1.158, allocations: 0 / 0.8878 GB, free: 157 MB / 0.6387 GB Notification: Performance of Templates: time 0.05737/1.215, allocations: 46.15 MB / 0.9328 GB, free: 111.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)