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.005321/0.005321, allocations: 98.95 kB / 15.73 MB, free: 6.055 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.001258/0.001258, allocations: 201.8 kB / 16.68 MB, free: 5.977 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7657/0.7657, allocations: 132.2 MB / 422.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 65.91 kB / 0.5814 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.173, allocations: 80.21 MB / 0.6597 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.Examples.HorizontalFinExample): time 0.009879/0.1829, allocations: 8.5 MB / 0.668 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6916/0.8746, allocations: 156.1 MB / 0.8205 GB, free: 3.164 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002562/0.8772, allocations: 40.09 kB / 0.8205 GB, free: 3.164 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.001391/0.8787, allocations: 359.3 kB / 0.8208 GB, free: 3.16 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004295/0.883, allocations: 0.879 MB / 0.8217 GB, free: 3.137 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005118/0.8881, allocations: 1.422 MB / 0.8231 GB, free: 3.109 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01181/0.8999, allocations: 5.24 MB / 0.8282 GB, free: 3.09 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007179/0.9072, allocations: 3.068 MB / 0.8312 GB, free: 2.652 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007053/0.9143, allocations: 2.09 MB / 0.8333 GB, free: 2.641 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005461/0.9198, allocations: 2.16 MB / 0.8354 GB, free: 2.457 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.002493/0.9223, allocations: 0.5266 MB / 0.8359 GB, free: 2.457 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005029/0.9274, allocations: 1.14 MB / 0.837 GB, free: 2.438 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002356/0.9298, allocations: 1.163 MB / 0.8381 GB, free: 2.285 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00523/0.935, allocations: 2.226 MB / 0.8403 GB, free: 1.672 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01137/0.9464, allocations: 6.362 MB / 0.8465 GB, free: 0.8047 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.9465, allocations: 0 / 0.8465 GB, free: 0.8047 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.467e-06/0.9465, allocations: 2.781 kB / 0.8465 GB, free: 0.8047 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002864/0.9468, allocations: 1.125 kB / 0.8465 GB, free: 0.8047 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.01596/0.9628, allocations: 4.718 MB / 0.8511 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/0.9628, allocations: 11.31 kB / 0.8511 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0103/0.9731, allocations: 1.386 MB / 0.8525 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006414/0.9796, allocations: 2.445 MB / 0.8549 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000553/0.9802, allocations: 0.5085 MB / 0.8554 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001818/0.982, allocations: 359.7 kB / 0.8557 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01462/0.9967, allocations: 5.213 MB / 0.8608 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.868e-05/0.9968, allocations: 4 kB / 0.8608 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004723/0.9973, allocations: 148.3 kB / 0.861 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.304e-05/0.9974, allocations: 93.84 kB / 0.861 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01573/1.013, allocations: 5.558 MB / 0.8665 GB, free: 11.65 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.04286/1.056, allocations: 19.2 MB / 0.8852 GB, free: 13.27 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01339/1.069, allocations: 4.468 MB / 0.8896 GB, free: 10.95 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006318/1.076, allocations: 1.883 MB / 0.8914 GB, free: 9.949 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00186/1.078, allocations: 1.092 MB / 0.8925 GB, free: 8.75 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007386/1.085, allocations: 2.276 MB / 0.8947 GB, free: 6.488 MB / 0.67 GB Notification: Performance of pre-optimization done (n=259): time 1.33e-05/1.085, allocations: 0 / 0.8947 GB, free: 6.488 MB / 0.67 GB Notification: Performance of matching and sorting (n=259): time 0.01849/1.104, allocations: 5.837 MB / 0.9004 GB, free: 0.5781 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001374/1.104, allocations: 214 kB / 0.9006 GB, free: 332 kB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004711/1.109, allocations: 2.215 MB / 0.9028 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0008718/1.11, allocations: 77.7 kB / 0.9029 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001717/1.111, allocations: 1.479 MB / 0.9043 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001591/1.113, allocations: 0.9026 MB / 0.9052 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002539/1.115, allocations: 0.6183 MB / 0.9058 GB, free: 10.99 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001027/1.116, allocations: 305.1 kB / 0.9061 GB, free: 10.69 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004745/1.12, allocations: 1.769 MB / 0.9078 GB, free: 8.914 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005218/1.126, allocations: 2.184 MB / 0.9099 GB, free: 6.609 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009847/1.135, allocations: 3.899 MB / 0.9137 GB, free: 2.609 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.069e-05/1.135, allocations: 0 / 0.9137 GB, free: 2.609 MB / 0.6856 GB Notification: Performance of matching and sorting (n=338) (initialization): time 0.01348/1.149, allocations: 4.56 MB / 0.9182 GB, free: 14.04 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 6.106e-05/1.149, allocations: 33.7 kB / 0.9182 GB, free: 14 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.348e-05/1.149, allocations: 8 kB / 0.9182 GB, free: 13.99 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006259/1.15, allocations: 97.23 kB / 0.9183 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004288/1.154, allocations: 0.8336 MB / 0.9191 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002249/1.156, allocations: 1.705 MB / 0.9208 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004538/1.161, allocations: 0.5017 MB / 0.9213 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008184/1.162, allocations: 163.8 kB / 0.9215 GB, free: 10.59 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.003142/1.165, allocations: 1.025 MB / 0.9225 GB, free: 9.586 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001314/1.166, allocations: 266.3 kB / 0.9227 GB, free: 9.324 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01336/1.18, allocations: 5.062 MB / 0.9277 GB, free: 4.199 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.737e-05/1.18, allocations: 35.98 kB / 0.9277 GB, free: 4.164 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/1.18, allocations: 4 kB / 0.9277 GB, free: 4.16 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-05/1.18, allocations: 11.95 kB / 0.9277 GB, free: 4.148 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02381/1.203, allocations: 8.977 MB / 0.9365 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.435e-05/1.204, allocations: 4 kB / 0.9365 GB, free: 11.03 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003551/1.207, allocations: 0.6872 MB / 0.9371 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004985/1.208, allocations: 76.8 kB / 0.9372 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004587/1.208, allocations: 87.86 kB / 0.9373 GB, free: 10.21 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002049/1.21, allocations: 1.719 MB / 0.939 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.21, allocations: 0 / 0.939 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01096/1.221, allocations: 3.977 MB / 0.9429 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002493/1.224, allocations: 0.8302 MB / 0.9437 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001345/1.225, allocations: 86.91 kB / 0.9438 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003518/1.229, allocations: 305.9 kB / 0.944 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006408/1.229, allocations: 206.1 kB / 0.9442 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004185/1.23, allocations: 99.94 kB / 0.9443 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003967/1.234, allocations: 1.691 MB / 0.946 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/1.234, allocations: 0 / 0.946 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004282/1.238, allocations: 1.044 MB / 0.947 GB, free: 20 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.002094/1.24, allocations: 0.7045 MB / 0.9477 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01041/1.251, allocations: 4.137 MB / 0.9517 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/1.251, allocations: 0 / 0.9517 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.004872/1.255, allocations: 2.062 MB / 0.9538 GB, free: 9.41 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003706/1.259, allocations: 0.5015 MB / 0.9542 GB, free: 8.938 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01637/1.276, allocations: 7.405 MB / 0.9615 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002909/1.279, allocations: 2.513 MB / 0.9639 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.004895/1.283, allocations: 0.961 MB / 0.9649 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002026/1.286, allocations: 347.1 kB / 0.9652 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of SimCode: time 1.192e-06/1.286, allocations: 0 / 0.9652 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of Templates: time 0.07603/1.362, allocations: 46.83 MB / 1.011 GB, free: 15.29 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)