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.001295/0.001295, allocations: 108 kB / 15.61 MB, free: 148 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.001019/0.001019, allocations: 195.3 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.28/1.28, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7228/0.7228, allocations: 132.2 MB / 422.6 MB, free: 1.809 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.001244/0.001244, allocations: 68.12 kB / 0.5019 GB, free: 3.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3679, allocations: 80.2 MB / 0.5802 GB, free: 4.582 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.Examples.HorizontalFinExample): time 0.009243/0.3772, allocations: 8.493 MB / 0.5885 GB, free: 14.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.163/0.5402, allocations: 156.2 MB / 0.741 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001424/0.5416, allocations: 43.75 kB / 0.741 GB, free: 12.26 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.0009179/0.5426, allocations: 352.5 kB / 0.7414 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0023/0.5449, allocations: 0.8829 MB / 0.7422 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002569/0.5475, allocations: 1.413 MB / 0.7436 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004304/0.5518, allocations: 5.209 MB / 0.7487 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003209/0.555, allocations: 3.074 MB / 0.7517 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002792/0.5578, allocations: 2.074 MB / 0.7537 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001948/0.5598, allocations: 2.163 MB / 0.7558 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006079/0.5604, allocations: 0.5273 MB / 0.7564 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00169/0.5621, allocations: 1.101 MB / 0.7574 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0008428/0.5629, allocations: 1.168 MB / 0.7586 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001861/0.5648, allocations: 2.228 MB / 0.7608 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004968/0.5698, allocations: 6.182 MB / 0.7668 GB, free: 1.773 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.5698, allocations: 4 kB / 0.7668 GB, free: 1.77 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5698, allocations: 0 / 0.7668 GB, free: 1.77 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.676e-05/0.5699, allocations: 0 / 0.7668 GB, free: 1.77 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.007576/0.5775, allocations: 4.611 MB / 0.7713 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.5775, allocations: 8.031 kB / 0.7713 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005398/0.578, allocations: 0.498 MB / 0.7718 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009421/0.5875, allocations: 1.361 MB / 0.7731 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003165/0.5907, allocations: 2.382 MB / 0.7754 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004257/0.5911, allocations: 0.5087 MB / 0.7759 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004859/0.5916, allocations: 368 kB / 0.7763 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008902/0.6005, allocations: 5.207 MB / 0.7814 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.38e-05/0.6006, allocations: 7.938 kB / 0.7814 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003419/0.6009, allocations: 152 kB / 0.7815 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.266e-05/0.601, allocations: 91.94 kB / 0.7816 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0112/0.6122, allocations: 5.558 MB / 0.787 GB, free: 12.73 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.02572/0.6379, allocations: 19.3 MB / 0.8059 GB, free: 8.156 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01107/0.649, allocations: 4.461 MB / 0.8102 GB, free: 3.691 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004028/0.6531, allocations: 1.88 MB / 0.8121 GB, free: 1.801 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001095/0.6542, allocations: 1.093 MB / 0.8132 GB, free: 496 kB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2541/0.9083, allocations: 2.275 MB / 0.8154 GB, free: 214.7 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=259): time 5.089e-06/0.9083, allocations: 0 / 0.8154 GB, free: 214.7 MB / 0.6387 GB Notification: Performance of matching and sorting (n=259): time 0.01505/0.9234, allocations: 5.819 MB / 0.8211 GB, free: 212.8 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.75e-05/0.9235, allocations: 212.3 kB / 0.8213 GB, free: 212.6 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002988/0.9265, allocations: 2.216 MB / 0.8234 GB, free: 211.8 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.000214/0.9267, allocations: 73.42 kB / 0.8235 GB, free: 211.7 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009185/0.9277, allocations: 1.448 MB / 0.8249 GB, free: 210.8 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005295/0.9282, allocations: 0.8593 MB / 0.8257 GB, free: 210.2 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008862/0.9291, allocations: 0.6086 MB / 0.8263 GB, free: 209.9 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 3.495e-05/0.9291, allocations: 302.3 kB / 0.8266 GB, free: 209.6 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003936/0.9331, allocations: 1.749 MB / 0.8283 GB, free: 209.1 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004195/0.9373, allocations: 2.174 MB / 0.8305 GB, free: 208.1 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008019/0.9453, allocations: 3.866 MB / 0.8342 GB, free: 206.4 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.9453, allocations: 5.312 kB / 0.8342 GB, free: 206.4 MB / 0.6387 GB Notification: Performance of matching and sorting (n=330) (initialization): time 0.01025/0.9556, allocations: 4.486 MB / 0.8386 GB, free: 204.2 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.84e-05/0.9556, allocations: 33.98 kB / 0.8387 GB, free: 204.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.9557, allocations: 6.219 kB / 0.8387 GB, free: 204.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005963/0.9563, allocations: 99.89 kB / 0.8388 GB, free: 204.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003759/0.96, allocations: 0.8265 MB / 0.8396 GB, free: 203.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001638/0.9617, allocations: 1.705 MB / 0.8412 GB, free: 202.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003416/0.9651, allocations: 497 kB / 0.8417 GB, free: 201.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002403/0.9654, allocations: 156.1 kB / 0.8419 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: 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.00152/0.9669, allocations: 1.027 MB / 0.8429 GB, free: 201.2 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004918/0.9674, allocations: 262.7 kB / 0.8431 GB, free: 201.1 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01002/0.9774, allocations: 5.067 MB / 0.8481 GB, free: 198.1 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/0.9774, allocations: 28 kB / 0.8481 GB, free: 198.1 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.9775, allocations: 3.938 kB / 0.8481 GB, free: 198.1 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.331e-05/0.9775, allocations: 11.95 kB / 0.8481 GB, free: 198.1 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01331/0.9908, allocations: 9.029 MB / 0.8569 GB, free: 188.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.9908, allocations: 4.062 kB / 0.8569 GB, free: 188.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003117/0.9939, allocations: 0.6826 MB / 0.8576 GB, free: 188.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004176/0.9944, allocations: 84.78 kB / 0.8577 GB, free: 188.1 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001685/0.9945, allocations: 75.94 kB / 0.8577 GB, free: 188 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001473/0.996, allocations: 1.736 MB / 0.8594 GB, free: 186.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.996, allocations: 0 / 0.8594 GB, free: 186.1 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0076/1.004, allocations: 3.968 MB / 0.8633 GB, free: 182.1 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/1.005, allocations: 0.8171 MB / 0.8641 GB, free: 181.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003913/1.005, allocations: 75.59 kB / 0.8642 GB, free: 181.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002554/1.008, allocations: 305.5 kB / 0.8645 GB, free: 180.9 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003298/1.008, allocations: 198.1 kB / 0.8647 GB, free: 180.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000186/1.008, allocations: 99.92 kB / 0.8648 GB, free: 180.6 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001746/1.01, allocations: 1.703 MB / 0.8664 GB, free: 178.9 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/1.01, allocations: 0 / 0.8664 GB, free: 178.9 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00201/1.012, allocations: 1.018 MB / 0.8674 GB, free: 177.9 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.008913/1.021, allocations: 5.129 MB / 0.8724 GB, free: 172.9 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01558/1.036, allocations: 6.859 MB / 0.8791 GB, free: 166.1 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/1.036, allocations: 192 / 0.8791 GB, free: 166.1 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003636/1.04, allocations: 2.057 MB / 0.8811 GB, free: 164 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002116/1.042, allocations: 0.4971 MB / 0.8816 GB, free: 163.5 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04125/1.083, allocations: 30.48 MB / 0.9114 GB, free: 131.3 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001367/1.085, allocations: 2.517 MB / 0.9138 GB, free: 128.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003096/1.088, allocations: 0.9687 MB / 0.9148 GB, free: 127.8 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001943/1.09, allocations: 1.561 MB / 0.9163 GB, free: 126.3 MB / 0.6387 GB Notification: Performance of SimCode: time 7.92e-07/1.09, allocations: 0 / 0.9163 GB, free: 126.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08529/1.175, allocations: 68.48 MB / 0.9832 GB, free: 58.28 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/13.95, allocations: 13.58 kB / 0.9832 GB, free: 58.27 MB / 0.6387 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)