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: "" <> buildModelFMU(IDEAS.Buildings.Components.Examples.HorizontalFinExample,fileNamePrefix="IDEAS_IDEAS_Buildings_Components_Examples_HorizontalFinExample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Buildings.Components.Examples.HorizontalFinExample,fileNamePrefix="IDEAS_IDEAS_Buildings_Components_Examples_HorizontalFinExample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004649/0.004649, allocations: 100.1 kB / 15.73 MB, free: 6.445 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.001364/0.001364, allocations: 191.5 kB / 16.67 MB, free: 6.348 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.507/1.507, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8255/0.8255, allocations: 132.2 MB / 422.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 67.59 kB / 0.5809 GB, free: 1.113 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1524, allocations: 80.2 MB / 0.6592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.Examples.HorizontalFinExample): time 0.01093/0.1633, allocations: 8.502 MB / 0.6675 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5213/0.6846, allocations: 156.1 MB / 0.82 GB, free: 2.914 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001873/0.6866, allocations: 37.16 kB / 0.82 GB, free: 2.914 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.001192/0.6878, allocations: 359.9 kB / 0.8204 GB, free: 2.91 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003255/0.691, allocations: 0.8851 MB / 0.8212 GB, free: 2.887 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004168/0.6952, allocations: 1.413 MB / 0.8226 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00693/0.7022, allocations: 5.243 MB / 0.8277 GB, free: 2.84 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004151/0.7064, allocations: 3.074 MB / 0.8307 GB, free: 2.402 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004174/0.7105, allocations: 2.084 MB / 0.8328 GB, free: 2.398 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003615/0.7142, allocations: 2.165 MB / 0.8349 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001199/0.7154, allocations: 0.5266 MB / 0.8354 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00286/0.7183, allocations: 1.136 MB / 0.8365 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001009/0.7193, allocations: 1.166 MB / 0.8376 GB, free: 2.055 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002883/0.7222, allocations: 2.232 MB / 0.8398 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00639/0.7286, allocations: 6.361 MB / 0.846 GB, free: 0.5742 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.7286, allocations: 7.062 kB / 0.846 GB, free: 0.5742 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.993e-06/0.7286, allocations: 0 / 0.846 GB, free: 0.5742 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001445/0.7288, allocations: 0.8438 kB / 0.846 GB, free: 0.5742 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.01017/0.739, allocations: 4.721 MB / 0.8506 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.739, allocations: 8.875 kB / 0.8507 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006585/0.7397, allocations: 0.5022 MB / 0.8511 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009696/0.7494, allocations: 1.388 MB / 0.8525 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004795/0.7542, allocations: 2.446 MB / 0.8549 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004491/0.7547, allocations: 0.5075 MB / 0.8554 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007918/0.7555, allocations: 361.3 kB / 0.8557 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01068/0.7662, allocations: 5.212 MB / 0.8608 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.81e-05/0.7663, allocations: 3.188 kB / 0.8608 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004302/0.7667, allocations: 157.8 kB / 0.861 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.147e-05/0.7668, allocations: 88.12 kB / 0.8611 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01279/0.7796, allocations: 5.556 MB / 0.8665 GB, free: 11.23 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.03061/0.8102, allocations: 19.2 MB / 0.8852 GB, free: 12.77 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01176/0.822, allocations: 4.481 MB / 0.8896 GB, free: 10.44 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004668/0.8267, allocations: 1.886 MB / 0.8915 GB, free: 9.391 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00134/0.8281, allocations: 1.086 MB / 0.8925 GB, free: 8.109 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005566/0.8336, allocations: 2.278 MB / 0.8947 GB, free: 5.785 MB / 0.67 GB Notification: Performance of pre-optimization done (n=259): time 4.468e-06/0.8337, allocations: 3.188 kB / 0.8947 GB, free: 5.785 MB / 0.67 GB Notification: Performance of matching and sorting (n=259): time 0.01661/0.8503, allocations: 5.83 MB / 0.9004 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001459/0.8505, allocations: 217 kB / 0.9006 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003989/0.8545, allocations: 2.219 MB / 0.9028 GB, free: 13.37 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0006885/0.8552, allocations: 69.7 kB / 0.9029 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001615/0.8568, allocations: 1.483 MB / 0.9043 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001415/0.8582, allocations: 0.9015 MB / 0.9052 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001273/0.8595, allocations: 0.6063 MB / 0.9058 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.8596, allocations: 301.1 kB / 0.9061 GB, free: 10 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005049/0.8647, allocations: 1.754 MB / 0.9078 GB, free: 8.246 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005885/0.8706, allocations: 2.171 MB / 0.9099 GB, free: 5.941 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01093/0.8816, allocations: 3.872 MB / 0.9137 GB, free: 1.965 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.215e-05/0.8816, allocations: 0 / 0.9137 GB, free: 1.965 MB / 0.6856 GB Notification: Performance of matching and sorting (n=330) (initialization): time 0.01435/0.896, allocations: 4.5 MB / 0.9181 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 6.052e-05/0.8961, allocations: 37.69 kB / 0.9181 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/0.8961, allocations: 4 kB / 0.9181 GB, free: 13.4 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006826/0.8968, allocations: 103.6 kB / 0.9182 GB, free: 13.3 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004614/0.9014, allocations: 0.818 MB / 0.919 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002485/0.9039, allocations: 1.708 MB / 0.9207 GB, free: 10.67 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004355/0.9083, allocations: 0.5024 MB / 0.9212 GB, free: 10.17 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007303/0.9091, allocations: 151.8 kB / 0.9213 GB, free: 10.02 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: 17 (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 (327): * Single equations (assignments): 325 * 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.00278/0.9119, allocations: 1.029 MB / 0.9223 GB, free: 9.016 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001072/0.9129, allocations: 266.5 kB / 0.9226 GB, free: 8.754 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01406/0.927, allocations: 5.069 MB / 0.9275 GB, free: 3.621 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.85e-05/0.9271, allocations: 28 kB / 0.9276 GB, free: 3.594 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.9271, allocations: 0 / 0.9276 GB, free: 3.594 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.804e-05/0.9271, allocations: 19.94 kB / 0.9276 GB, free: 3.574 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02028/0.9474, allocations: 8.988 MB / 0.9364 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/0.9475, allocations: 0 / 0.9364 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003773/0.9513, allocations: 0.6912 MB / 0.937 GB, free: 9.785 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005278/0.9518, allocations: 76.8 kB / 0.9371 GB, free: 9.707 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003723/0.9522, allocations: 91.84 kB / 0.9372 GB, free: 9.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00228/0.9545, allocations: 1.715 MB / 0.9389 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.9545, allocations: 3.188 kB / 0.9389 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01092/0.9654, allocations: 3.985 MB / 0.9428 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001831/0.9673, allocations: 0.8341 MB / 0.9436 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007401/0.9681, allocations: 75.72 kB / 0.9437 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003172/0.9712, allocations: 315.5 kB / 0.944 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004853/0.9717, allocations: 194.1 kB / 0.9441 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002892/0.972, allocations: 99.94 kB / 0.9442 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003239/0.9753, allocations: 1.691 MB / 0.9459 GB, free: 488 kB / 0.7169 GB Notification: Performance of sort global known variables: time 3e-07/0.9753, allocations: 0 / 0.9459 GB, free: 488 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003079/0.9784, allocations: 1.032 MB / 0.9469 GB, free: 15.44 MB / 0.7325 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.01301/0.9914, allocations: 5.152 MB / 0.9519 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01174/1.003, allocations: 4.094 MB / 0.9559 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/1.003, allocations: 0 / 0.9559 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005426/1.009, allocations: 2.058 MB / 0.9579 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003307/1.012, allocations: 0.5081 MB / 0.9584 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06516/1.077, allocations: 27.61 MB / 0.9854 GB, free: 7.887 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003134/1.08, allocations: 2.515 MB / 0.9879 GB, free: 5.348 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.004668/1.085, allocations: 0.9683 MB / 0.9888 GB, free: 4.379 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003634/1.089, allocations: 1.557 MB / 0.9903 GB, free: 2.82 MB / 0.7637 GB Notification: Performance of SimCode: time 8.22e-07/1.089, allocations: 0 / 0.9903 GB, free: 2.82 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1337/1.222, allocations: 69.36 MB / 1.058 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.98/19.2, allocations: 9.234 kB / 1.058 GB, free: 14.07 MB / 0.8419 GB (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Buildings.Components.Examples.HorizontalFinExample_res.csv --start-time 2e+06 --stop-time 3e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 400 IDEAS_IDEAS_Buildings_Components_Examples_HorizontalFinExample.fmu > IDEAS_IDEAS.Buildings.Components.Examples.HorizontalFinExample.pipe 2>&1)