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.005674/0.005674, allocations: 99.98 kB / 15.73 MB, free: 6.016 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.001296/0.001296, allocations: 187.6 kB / 16.67 MB, free: 5.93 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.273/1.273, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7513/0.7513, allocations: 132.2 MB / 422.7 MB, free: 6.523 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 61.47 kB / 0.5809 GB, free: 24.1 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1298, allocations: 80.21 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.Examples.HorizontalFinExample): time 0.009028/0.1388, allocations: 8.497 MB / 0.6675 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4898/0.6286, allocations: 156.1 MB / 0.82 GB, free: 8.211 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001713/0.6304, allocations: 39.75 kB / 0.82 GB, free: 8.195 MB / 0.5919 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.0009841/0.6314, allocations: 365.2 kB / 0.8204 GB, free: 7.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002591/0.634, allocations: 0.8979 MB / 0.8212 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003232/0.6373, allocations: 1.426 MB / 0.8226 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004744/0.642, allocations: 5.24 MB / 0.8278 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003227/0.6453, allocations: 3.083 MB / 0.8308 GB, free: 1.109 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003291/0.6486, allocations: 2.124 MB / 0.8328 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002925/0.6515, allocations: 2.156 MB / 0.8349 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0007194/0.6522, allocations: 0.5276 MB / 0.8355 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002204/0.6544, allocations: 1.132 MB / 0.8366 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0008527/0.6553, allocations: 1.164 MB / 0.8377 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002234/0.6576, allocations: 2.231 MB / 0.8399 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006366/0.6639, allocations: 6.364 MB / 0.8461 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.664, allocations: 4 kB / 0.8461 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.914e-06/0.664, allocations: 0 / 0.8461 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001518/0.6641, allocations: 0 / 0.8461 GB, free: 6.695 MB / 0.6075 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.01089/0.675, allocations: 4.727 MB / 0.8507 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.114e-05/0.6751, allocations: 12.03 kB / 0.8507 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007202/0.6758, allocations: 0.4941 MB / 0.8512 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009257/0.6851, allocations: 1.386 MB / 0.8526 GB, free: 156 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005179/0.6903, allocations: 2.446 MB / 0.8549 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004176/0.6908, allocations: 0.5087 MB / 0.8554 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007258/0.6915, allocations: 356 kB / 0.8558 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01037/0.7019, allocations: 5.215 MB / 0.8609 GB, free: 7.438 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-05/0.702, allocations: 3.938 kB / 0.8609 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003708/0.7024, allocations: 152 kB / 0.861 GB, free: 7.285 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.503e-05/0.7024, allocations: 88 kB / 0.8611 GB, free: 7.199 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0125/0.7149, allocations: 5.562 MB / 0.8665 GB, free: 1.629 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.03172/0.7467, allocations: 19.2 MB / 0.8853 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0115/0.7582, allocations: 4.473 MB / 0.8897 GB, free: 8.691 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004487/0.7627, allocations: 1.881 MB / 0.8915 GB, free: 6.801 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001271/0.764, allocations: 1.089 MB / 0.8926 GB, free: 5.488 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005554/0.7696, allocations: 2.279 MB / 0.8948 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=259): time 5.46e-06/0.7696, allocations: 0 / 0.8948 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of matching and sorting (n=259): time 0.01573/0.7854, allocations: 5.829 MB / 0.9005 GB, free: 13.25 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.7855, allocations: 214 kB / 0.9007 GB, free: 13 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00385/0.7894, allocations: 2.215 MB / 0.9028 GB, free: 10.75 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0004764/0.7899, allocations: 77.69 kB / 0.9029 GB, free: 10.67 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001267/0.7911, allocations: 1.478 MB / 0.9044 GB, free: 9.176 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001005/0.7922, allocations: 0.9102 MB / 0.9053 GB, free: 8.258 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001398/0.7936, allocations: 0.6024 MB / 0.9058 GB, free: 7.648 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 8.999e-05/0.7937, allocations: 305.1 kB / 0.9061 GB, free: 7.348 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0043/0.798, allocations: 1.75 MB / 0.9078 GB, free: 5.594 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004663/0.8027, allocations: 2.175 MB / 0.91 GB, free: 3.281 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008791/0.8115, allocations: 3.865 MB / 0.9137 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-05/0.8115, allocations: 4 kB / 0.9137 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of matching and sorting (n=330) (initialization): time 0.01191/0.8234, allocations: 4.502 MB / 0.9181 GB, free: 10.72 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.777e-05/0.8235, allocations: 41.72 kB / 0.9182 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.09e-05/0.8235, allocations: 8 kB / 0.9182 GB, free: 10.67 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006254/0.8242, allocations: 96.72 kB / 0.9183 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004273/0.8285, allocations: 0.819 MB / 0.9191 GB, free: 9.75 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002338/0.8308, allocations: 1.71 MB / 0.9207 GB, free: 7.895 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00431/0.8351, allocations: 0.5072 MB / 0.9212 GB, free: 7.387 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006168/0.8358, allocations: 151.8 kB / 0.9214 GB, free: 7.238 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: 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.002512/0.8383, allocations: 1.018 MB / 0.9224 GB, free: 6.211 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001025/0.8393, allocations: 278.2 kB / 0.9226 GB, free: 5.938 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01251/0.8518, allocations: 5.051 MB / 0.9276 GB, free: 0.8203 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.097e-05/0.8519, allocations: 32 kB / 0.9276 GB, free: 0.7891 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/0.8519, allocations: 0 / 0.9276 GB, free: 0.7891 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.455e-05/0.852, allocations: 19.88 kB / 0.9276 GB, free: 0.7695 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01903/0.871, allocations: 8.993 MB / 0.9364 GB, free: 7.555 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.8711, allocations: 3.938 kB / 0.9364 GB, free: 7.551 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003391/0.8745, allocations: 0.6982 MB / 0.9371 GB, free: 6.852 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004686/0.875, allocations: 84.72 kB / 0.9372 GB, free: 6.766 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003042/0.8753, allocations: 75.94 kB / 0.9373 GB, free: 6.691 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001838/0.8772, allocations: 1.713 MB / 0.9389 GB, free: 4.832 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.8772, allocations: 7.938 kB / 0.9389 GB, free: 4.824 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009618/0.8868, allocations: 3.982 MB / 0.9428 GB, free: 0.7617 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001831/0.8887, allocations: 0.8302 MB / 0.9436 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007214/0.8894, allocations: 87.67 kB / 0.9437 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002996/0.8924, allocations: 307.6 kB / 0.944 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003781/0.8928, allocations: 190.1 kB / 0.9442 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002286/0.893, allocations: 99.94 kB / 0.9443 GB, free: 15.24 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002804/0.8959, allocations: 1.703 MB / 0.9459 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8959, allocations: 0 / 0.9459 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002936/0.8988, allocations: 1.032 MB / 0.947 GB, free: 12.49 MB / 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.01043/0.9093, allocations: 5.141 MB / 0.952 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.009072/0.9184, allocations: 4.098 MB / 0.956 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.9184, allocations: 4 kB / 0.956 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00433/0.9227, allocations: 2.062 MB / 0.958 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002373/0.9251, allocations: 0.4943 MB / 0.9585 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05073/0.9759, allocations: 27.62 MB / 0.9855 GB, free: 4.695 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001818/0.9777, allocations: 2.517 MB / 0.9879 GB, free: 2.148 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.003195/0.9809, allocations: 0.9571 MB / 0.9888 GB, free: 1.188 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002382/0.9833, allocations: 1.561 MB / 0.9904 GB, free: 15.62 MB / 0.7637 GB Notification: Performance of SimCode: time 7.71e-07/0.9833, allocations: 0 / 0.9904 GB, free: 15.62 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4393/1.423, allocations: 69.35 MB / 1.058 GB, free: 307.8 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.58/18.01, allocations: 7.266 kB / 1.058 GB, free: 307.8 MB / 0.8106 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)