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.001053/0.001053, allocations: 106 kB / 16.35 MB, free: 5.824 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.001017/0.001017, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.304/1.304, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7667/0.7667, allocations: 132.2 MB / 423.3 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 71.88 kB / 0.5032 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3415, allocations: 80.19 MB / 0.5815 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.Examples.HorizontalFinExample): time 0.008661/0.3502, allocations: 8.492 MB / 0.5898 GB, free: 20.86 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1629/0.5132, allocations: 156.2 MB / 0.7423 GB, free: 8.984 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002351/0.5156, allocations: 35.81 kB / 0.7423 GB, free: 8.949 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.001795/0.5174, allocations: 360.4 kB / 0.7427 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004272/0.5217, allocations: 0.8771 MB / 0.7435 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004175/0.5259, allocations: 1.433 MB / 0.7449 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007679/0.5336, allocations: 5.24 MB / 0.75 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3873/0.9209, allocations: 3.068 MB / 0.753 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003756/0.9247, allocations: 2.08 MB / 0.7551 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003734/0.9285, allocations: 2.166 MB / 0.7572 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002148/0.9307, allocations: 0.5253 MB / 0.7577 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003916/0.9346, allocations: 1.13 MB / 0.7588 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00164/0.9362, allocations: 1.161 MB / 0.7599 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003141/0.9394, allocations: 2.238 MB / 0.7621 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00842/0.9478, allocations: 6.336 MB / 0.7683 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.9479, allocations: 1.094 kB / 0.7683 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.304e-06/0.9479, allocations: 0.75 kB / 0.7683 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002232/0.9481, allocations: 0 / 0.7683 GB, free: 1.297 MB / 0.5762 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.01396/0.9621, allocations: 4.597 MB / 0.7728 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.9622, allocations: 8.188 kB / 0.7728 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01016/0.9723, allocations: 1.363 MB / 0.7741 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006016/0.9784, allocations: 2.431 MB / 0.7765 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004589/0.9789, allocations: 0.5051 MB / 0.777 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001305/0.9802, allocations: 359.6 kB / 0.7773 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01138/0.9916, allocations: 5.211 MB / 0.7824 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.475e-05/0.9917, allocations: 3.375 kB / 0.7824 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004089/0.9921, allocations: 151.4 kB / 0.7826 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.65e-05/0.9922, allocations: 89.97 kB / 0.7827 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01267/1.005, allocations: 5.562 MB / 0.7881 GB, free: 14.07 MB / 0.5919 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.03588/1.041, allocations: 19.17 MB / 0.8068 GB, free: 5.137 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01156/1.052, allocations: 4.466 MB / 0.8112 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004671/1.057, allocations: 1.883 MB / 0.813 GB, free: 3.492 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001279/1.058, allocations: 1.092 MB / 0.8141 GB, free: 2.297 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005334/1.064, allocations: 2.275 MB / 0.8163 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=259): time 5.821e-06/1.064, allocations: 3.281 kB / 0.8163 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of matching and sorting (n=259): time 0.01589/1.08, allocations: 5.809 MB / 0.822 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/1.08, allocations: 229.3 kB / 0.8222 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004106/1.084, allocations: 2.215 MB / 0.8244 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0005428/1.084, allocations: 73.7 kB / 0.8244 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001532/1.086, allocations: 1.445 MB / 0.8258 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001186/1.087, allocations: 0.8589 MB / 0.8267 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001782/1.089, allocations: 0.6219 MB / 0.8273 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.07e-05/1.089, allocations: 305.1 kB / 0.8276 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004382/1.094, allocations: 1.769 MB / 0.8293 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004846/1.098, allocations: 2.182 MB / 0.8314 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009044/1.107, allocations: 3.897 MB / 0.8352 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.408e-05/1.107, allocations: 4 kB / 0.8352 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of matching and sorting (n=338) (initialization): time 0.01187/1.119, allocations: 4.537 MB / 0.8397 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.541e-05/1.119, allocations: 45.7 kB / 0.8397 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.251e-05/1.119, allocations: 4 kB / 0.8397 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006509/1.12, allocations: 100.8 kB / 0.8398 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004387/1.125, allocations: 0.8259 MB / 0.8406 GB, free: 9.629 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002295/1.127, allocations: 1.705 MB / 0.8423 GB, free: 7.797 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004934/1.132, allocations: 0.5076 MB / 0.8428 GB, free: 7.289 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006913/1.133, allocations: 159.8 kB / 0.8429 GB, free: 7.133 MB / 0.6231 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.002959/1.135, allocations: 1.024 MB / 0.8439 GB, free: 6.133 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001203/1.137, allocations: 256.8 kB / 0.8442 GB, free: 5.879 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01276/1.149, allocations: 5.064 MB / 0.8491 GB, free: 0.7539 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.377e-05/1.15, allocations: 28 kB / 0.8492 GB, free: 0.7266 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/1.15, allocations: 0 / 0.8492 GB, free: 0.7266 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-05/1.15, allocations: 11.95 kB / 0.8492 GB, free: 0.7148 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01997/1.17, allocations: 8.979 MB / 0.8579 GB, free: 7.605 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.006e-05/1.17, allocations: 0 / 0.8579 GB, free: 7.605 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003535/1.173, allocations: 0.6853 MB / 0.8586 GB, free: 6.945 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005128/1.174, allocations: 88.78 kB / 0.8587 GB, free: 6.855 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002967/1.174, allocations: 75.94 kB / 0.8588 GB, free: 6.781 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002439/1.176, allocations: 1.726 MB / 0.8605 GB, free: 4.922 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/1.176, allocations: 4 kB / 0.8605 GB, free: 4.918 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01373/1.19, allocations: 3.96 MB / 0.8643 GB, free: 0.8789 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004047/1.194, allocations: 0.8171 MB / 0.8651 GB, free: 40 kB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002089/1.196, allocations: 92.31 kB / 0.8652 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004387/1.201, allocations: 303.5 kB / 0.8655 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009021/1.202, allocations: 197.3 kB / 0.8657 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005319/1.202, allocations: 103.9 kB / 0.8658 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.004087/1.206, allocations: 1.691 MB / 0.8674 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.3e-07/1.207, allocations: 0 / 0.8674 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.004438/1.211, allocations: 1.028 MB / 0.8684 GB, free: 12.63 MB / 0.6544 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.002264/1.213, allocations: 0.7004 MB / 0.8691 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01042/1.224, allocations: 4.129 MB / 0.8732 GB, free: 8.055 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/1.224, allocations: 0.75 kB / 0.8732 GB, free: 8.055 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.005282/1.229, allocations: 2.059 MB / 0.8752 GB, free: 6.035 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004141/1.233, allocations: 0.504 MB / 0.8757 GB, free: 5.559 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0167/1.25, allocations: 7.29 MB / 0.8828 GB, free: 14.23 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002956/1.253, allocations: 2.513 MB / 0.8852 GB, free: 11.69 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.004696/1.258, allocations: 0.9649 MB / 0.8862 GB, free: 10.72 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002017/1.26, allocations: 343.1 kB / 0.8865 GB, free: 10.39 MB / 0.67 GB Notification: Performance of SimCode: time 9.31e-07/1.26, allocations: 3.938 kB / 0.8865 GB, free: 10.38 MB / 0.67 GB Notification: Performance of Templates: time 0.09221/1.352, allocations: 46.13 MB / 0.9316 GB, free: 12.73 MB / 0.7169 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Buildings.Components.Examples.HorizontalFinExample.pipe 2>&1)