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.007821/0.007821, allocations: 101.1 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.001556/0.001556, allocations: 190.4 kB / 16.67 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7971/0.7971, allocations: 132.2 MB / 422.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 63.91 kB / 0.5813 GB, free: 7.512 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5114/0.513, allocations: 80.2 MB / 0.6597 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.Examples.HorizontalFinExample): time 0.009588/0.5226, allocations: 8.507 MB / 0.668 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1899/0.7125, allocations: 156.2 MB / 0.8205 GB, free: 0.9688 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002538/0.7151, allocations: 35.81 kB / 0.8205 GB, free: 0.9336 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.00157/0.7167, allocations: 371.6 kB / 0.8209 GB, free: 0.5703 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00355/0.7203, allocations: 0.8901 MB / 0.8217 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004241/0.7245, allocations: 1.426 MB / 0.8231 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006449/0.731, allocations: 5.263 MB / 0.8283 GB, free: 8.98 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003984/0.735, allocations: 3.066 MB / 0.8313 GB, free: 5.84 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004113/0.7391, allocations: 2.122 MB / 0.8333 GB, free: 3.727 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003181/0.7423, allocations: 2.167 MB / 0.8354 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0009589/0.7433, allocations: 0.5234 MB / 0.836 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002666/0.746, allocations: 1.128 MB / 0.8371 GB, free: 15.9 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001159/0.7471, allocations: 1.164 MB / 0.8382 GB, free: 14.73 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002623/0.7498, allocations: 2.232 MB / 0.8404 GB, free: 12.49 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.008043/0.7578, allocations: 6.338 MB / 0.8466 GB, free: 6.133 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.7578, allocations: 0 / 0.8466 GB, free: 6.133 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.324e-06/0.7579, allocations: 0 / 0.8466 GB, free: 6.133 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001647/0.758, allocations: 0 / 0.8466 GB, free: 6.133 MB / 0.67 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.01097/0.769, allocations: 4.609 MB / 0.8511 GB, free: 1.445 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.571e-05/0.7691, allocations: 8.031 kB / 0.8511 GB, free: 1.438 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009986/0.7791, allocations: 1.361 MB / 0.8524 GB, free: 72 kB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004768/0.7839, allocations: 2.428 MB / 0.8548 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004931/0.7844, allocations: 0.5048 MB / 0.8553 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009945/0.7854, allocations: 360 kB / 0.8556 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01359/0.799, allocations: 5.211 MB / 0.8607 GB, free: 7.375 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.881e-05/0.7991, allocations: 4 kB / 0.8607 GB, free: 7.371 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007585/0.7999, allocations: 156 kB / 0.8609 GB, free: 7.219 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.681e-05/0.8, allocations: 88 kB / 0.8609 GB, free: 7.133 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01432/0.8143, allocations: 5.562 MB / 0.8664 GB, free: 1.562 MB / 0.6856 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.4851/1.299, allocations: 19.15 MB / 0.8851 GB, free: 177.9 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01272/1.312, allocations: 4.466 MB / 0.8894 GB, free: 175.7 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00463/1.317, allocations: 1.884 MB / 0.8913 GB, free: 174.7 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009957/1.318, allocations: 1.086 MB / 0.8923 GB, free: 173.5 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005374/1.323, allocations: 2.281 MB / 0.8946 GB, free: 172.1 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=259): time 4.358e-06/1.323, allocations: 0 / 0.8946 GB, free: 172.1 MB / 0.6856 GB Notification: Performance of matching and sorting (n=259): time 0.01513/1.338, allocations: 5.817 MB / 0.9002 GB, free: 169 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/1.339, allocations: 212.3 kB / 0.9004 GB, free: 168.7 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003425/1.342, allocations: 2.218 MB / 0.9026 GB, free: 167.5 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003228/1.342, allocations: 73.17 kB / 0.9027 GB, free: 167.5 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001121/1.344, allocations: 1.447 MB / 0.9041 GB, free: 166.3 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007012/1.344, allocations: 0.8677 MB / 0.9049 GB, free: 165.5 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001038/1.345, allocations: 0.6173 MB / 0.9055 GB, free: 165.1 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 5.275e-05/1.345, allocations: 305.1 kB / 0.9058 GB, free: 164.8 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004125/1.349, allocations: 1.771 MB / 0.9076 GB, free: 163.9 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004752/1.354, allocations: 2.183 MB / 0.9097 GB, free: 162.5 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009948/1.364, allocations: 3.888 MB / 0.9135 GB, free: 160.3 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.009e-05/1.364, allocations: 3.969 kB / 0.9135 GB, free: 160.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=338) (initialization): time 0.01086/1.375, allocations: 4.544 MB / 0.9179 GB, free: 157.9 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.407e-05/1.375, allocations: 36.95 kB / 0.918 GB, free: 157.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/1.375, allocations: 7.375 kB / 0.918 GB, free: 157.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006159/1.376, allocations: 99.42 kB / 0.9181 GB, free: 157.8 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003788/1.38, allocations: 0.8329 MB / 0.9189 GB, free: 157.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001917/1.382, allocations: 1.7 MB / 0.9205 GB, free: 155.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004252/1.386, allocations: 0.5009 MB / 0.921 GB, free: 155.2 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004266/1.386, allocations: 155.8 kB / 0.9212 GB, free: 155 MB / 0.6856 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.002492/1.389, allocations: 1.032 MB / 0.9222 GB, free: 154 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001232/1.39, allocations: 252.8 kB / 0.9224 GB, free: 153.8 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01212/1.402, allocations: 5.065 MB / 0.9274 GB, free: 148.6 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.128e-05/1.402, allocations: 28 kB / 0.9274 GB, free: 148.6 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/1.402, allocations: 0 / 0.9274 GB, free: 148.6 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.689e-05/1.402, allocations: 15.94 kB / 0.9274 GB, free: 148.6 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01813/1.42, allocations: 8.981 MB / 0.9362 GB, free: 139.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.5e-05/1.421, allocations: 0 / 0.9362 GB, free: 139.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0034/1.424, allocations: 0.6904 MB / 0.9369 GB, free: 138.8 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004947/1.424, allocations: 80.78 kB / 0.9369 GB, free: 138.7 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003475/1.425, allocations: 75.94 kB / 0.937 GB, free: 138.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001671/1.427, allocations: 1.717 MB / 0.9387 GB, free: 136.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.427, allocations: 0 / 0.9387 GB, free: 136.8 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009377/1.436, allocations: 3.973 MB / 0.9426 GB, free: 132.7 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002072/1.438, allocations: 0.8287 MB / 0.9434 GB, free: 131.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009117/1.439, allocations: 67.69 kB / 0.9434 GB, free: 131.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003115/1.442, allocations: 311.6 kB / 0.9437 GB, free: 131.5 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004511/1.443, allocations: 201.9 kB / 0.9439 GB, free: 131.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002332/1.443, allocations: 103.9 kB / 0.944 GB, free: 131.2 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002992/1.446, allocations: 1.695 MB / 0.9457 GB, free: 129.5 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.7e-07/1.446, allocations: 0 / 0.9457 GB, free: 129.5 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003636/1.449, allocations: 1.028 MB / 0.9467 GB, free: 128.5 MB / 0.6856 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.002031/1.452, allocations: 0.6993 MB / 0.9474 GB, free: 128 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.009438/1.461, allocations: 4.13 MB / 0.9514 GB, free: 123.8 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/1.461, allocations: 4 kB / 0.9514 GB, free: 123.8 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.004197/1.465, allocations: 2.058 MB / 0.9534 GB, free: 121.8 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003438/1.469, allocations: 0.5009 MB / 0.9539 GB, free: 121.3 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0146/1.483, allocations: 7.288 MB / 0.961 GB, free: 114 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002396/1.486, allocations: 2.521 MB / 0.9635 GB, free: 111.4 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.004456/1.49, allocations: 0.9686 MB / 0.9644 GB, free: 110.4 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001914/1.492, allocations: 347.1 kB / 0.9648 GB, free: 110.1 MB / 0.6856 GB Notification: Performance of SimCode: time 2.023e-06/1.492, allocations: 0 / 0.9648 GB, free: 110.1 MB / 0.6856 GB Notification: Performance of Templates: time 0.06853/1.561, allocations: 46.81 MB / 1.01 GB, free: 63.57 MB / 0.6856 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)