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.001136/0.001136, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001169/0.001169, allocations: 189.5 kB / 16.25 MB, free: 6.629 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.194/1.194, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.689/0.689, allocations: 132.2 MB / 422.3 MB, free: 1.918 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.001105/0.001105, allocations: 63.91 kB / 0.5014 GB, free: 8.973 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1358, allocations: 80.2 MB / 0.5797 GB, free: 8.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.Examples.HorizontalFinExample): time 0.008696/0.1446, allocations: 8.447 MB / 0.5879 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3381/0.4827, allocations: 153.8 MB / 0.7382 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001323/0.484, allocations: 37.28 kB / 0.7382 GB, free: 12.13 MB / 0.5606 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.0009902/0.485, allocations: 274.4 kB / 0.7384 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002382/0.4874, allocations: 0.761 MB / 0.7392 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002714/0.4901, allocations: 1.275 MB / 0.7404 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004111/0.4943, allocations: 5.256 MB / 0.7456 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002755/0.497, allocations: 3.079 MB / 0.7486 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002766/0.4998, allocations: 2.09 MB / 0.7506 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001691/0.5015, allocations: 2.163 MB / 0.7527 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005038/0.502, allocations: 0.5234 MB / 0.7532 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001514/0.5035, allocations: 1.12 MB / 0.7543 GB, free: 356 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007162/0.5043, allocations: 1.161 MB / 0.7555 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001586/0.5059, allocations: 2.235 MB / 0.7577 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004301/0.5102, allocations: 6.182 MB / 0.7637 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.5102, allocations: 4 kB / 0.7637 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5102, allocations: 0 / 0.7637 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.898e-05/0.5102, allocations: 4 kB / 0.7637 GB, free: 6.73 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.006979/0.5172, allocations: 4.605 MB / 0.7682 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.5173, allocations: 8.031 kB / 0.7682 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005165/0.5178, allocations: 0.5019 MB / 0.7687 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008934/0.5267, allocations: 1.361 MB / 0.77 GB, free: 172 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00291/0.5296, allocations: 2.393 MB / 0.7724 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003633/0.53, allocations: 0.5126 MB / 0.7729 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004627/0.5305, allocations: 356 kB / 0.7732 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00856/0.5391, allocations: 5.207 MB / 0.7783 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.996e-05/0.5391, allocations: 7.938 kB / 0.7783 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003344/0.5395, allocations: 148 kB / 0.7784 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.433e-05/0.5395, allocations: 88 kB / 0.7785 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01045/0.55, allocations: 5.565 MB / 0.7839 GB, free: 1.695 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.02216/0.5722, allocations: 19.3 MB / 0.8028 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009904/0.5821, allocations: 4.455 MB / 0.8071 GB, free: 8.688 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003647/0.5857, allocations: 1.884 MB / 0.809 GB, free: 6.793 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001008/0.5868, allocations: 1.089 MB / 0.8101 GB, free: 5.48 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004328/0.5911, allocations: 2.286 MB / 0.8123 GB, free: 3.145 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=259): time 4.418e-06/0.5911, allocations: 0 / 0.8123 GB, free: 3.145 MB / 0.6231 GB Notification: Performance of matching and sorting (n=259): time 0.01314/0.6043, allocations: 5.816 MB / 0.818 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.784e-05/0.6044, allocations: 206 kB / 0.8182 GB, free: 13 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002533/0.6069, allocations: 2.223 MB / 0.8203 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002127/0.6071, allocations: 77.7 kB / 0.8204 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008809/0.608, allocations: 1.442 MB / 0.8218 GB, free: 9.203 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006264/0.6086, allocations: 0.8586 MB / 0.8227 GB, free: 8.332 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009522/0.6096, allocations: 0.6022 MB / 0.8232 GB, free: 7.723 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.786e-05/0.6097, allocations: 301.1 kB / 0.8235 GB, free: 7.426 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003755/0.6134, allocations: 1.754 MB / 0.8252 GB, free: 5.668 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004095/0.6175, allocations: 2.182 MB / 0.8274 GB, free: 3.352 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007759/0.6253, allocations: 3.866 MB / 0.8311 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.6253, allocations: 0 / 0.8311 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=330) (initialization): time 0.009585/0.6349, allocations: 4.486 MB / 0.8355 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.756e-05/0.635, allocations: 38.17 kB / 0.8356 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.635, allocations: 8 kB / 0.8356 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005922/0.6356, allocations: 104.7 kB / 0.8357 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003793/0.6394, allocations: 0.8151 MB / 0.8365 GB, free: 9.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001906/0.6413, allocations: 1.707 MB / 0.8381 GB, free: 7.992 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003268/0.6446, allocations: 0.5058 MB / 0.8386 GB, free: 7.484 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003077/0.6449, allocations: 155.8 kB / 0.8388 GB, free: 7.332 MB / 0.6544 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.001403/0.6463, allocations: 1.022 MB / 0.8398 GB, free: 6.305 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005111/0.6468, allocations: 256.8 kB / 0.84 GB, free: 6.051 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01068/0.6575, allocations: 5.074 MB / 0.845 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.079e-05/0.6576, allocations: 32 kB / 0.845 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.6576, allocations: 0 / 0.845 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.511e-05/0.6576, allocations: 15.94 kB / 0.845 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01399/0.6716, allocations: 9.021 MB / 0.8538 GB, free: 7.586 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.6716, allocations: 4 kB / 0.8538 GB, free: 7.582 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003084/0.6747, allocations: 0.6904 MB / 0.8545 GB, free: 6.891 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004189/0.6751, allocations: 80.72 kB / 0.8546 GB, free: 6.809 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002129/0.6754, allocations: 83.94 kB / 0.8547 GB, free: 6.727 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001699/0.6771, allocations: 1.728 MB / 0.8564 GB, free: 4.852 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.6771, allocations: 0 / 0.8564 GB, free: 4.852 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007944/0.685, allocations: 3.961 MB / 0.8602 GB, free: 0.8125 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2187/0.9037, allocations: 0.8136 MB / 0.861 GB, free: 217.8 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001085/0.9048, allocations: 78.62 kB / 0.8611 GB, free: 217.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003235/0.9081, allocations: 318 kB / 0.8614 GB, free: 217.8 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005419/0.9086, allocations: 194.8 kB / 0.8616 GB, free: 217.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003342/0.909, allocations: 101.3 kB / 0.8617 GB, free: 217.8 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002296/0.9113, allocations: 1.699 MB / 0.8633 GB, free: 217.6 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.71e-07/0.9113, allocations: 0 / 0.8633 GB, free: 217.6 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002566/0.9139, allocations: 1.024 MB / 0.8643 GB, free: 217.6 MB / 0.67 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.008961/0.9228, allocations: 5.121 MB / 0.8693 GB, free: 215.9 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01462/0.9375, allocations: 6.854 MB / 0.876 GB, free: 214.5 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.9375, allocations: 0 / 0.876 GB, free: 214.5 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003392/0.9409, allocations: 2.063 MB / 0.878 GB, free: 213.8 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001934/0.9428, allocations: 0.4973 MB / 0.8785 GB, free: 213.6 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05315/0.996, allocations: 32.08 MB / 0.9099 GB, free: 196.5 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00179/0.9978, allocations: 2.512 MB / 0.9123 GB, free: 195.5 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003482/1.001, allocations: 0.9728 MB / 0.9133 GB, free: 195.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002098/1.003, allocations: 1.555 MB / 0.9148 GB, free: 194.1 MB / 0.67 GB Notification: Performance of SimCode: time 4.51e-07/1.003, allocations: 0 / 0.9148 GB, free: 194.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.844/1.847, allocations: 68.12 MB / 0.9813 GB, free: 141.6 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001589/1.848, allocations: 285.9 kB / 0.9816 GB, free: 141.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.467/5.314, allocations: 4 kB / 0.9816 GB, free: 141.2 MB / 0.67 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Buildings_Components_Examples_HorizontalFinExample_fmu --startTime=2e+06 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Buildings_Components_Examples_HorizontalFinExample.fmu > IDEAS_IDEAS.Buildings.Components.Examples.HorizontalFinExample.pipe 2>&1)