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.001415/0.001415, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001608/0.001608, allocations: 190.9 kB / 16.14 MB, free: 6.734 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.299/1.299, allocations: 222.9 MB / 239.8 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7357/0.7357, allocations: 132.2 MB / 422.1 MB, free: 1.988 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.001185/0.001185, allocations: 63.84 kB / 0.5012 GB, free: 4.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3587, allocations: 80.2 MB / 0.5795 GB, free: 4.41 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.Examples.HorizontalFinExample): time 0.008808/0.3676, allocations: 8.45 MB / 0.5878 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1584/0.526, allocations: 153.8 MB / 0.738 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001604/0.5277, allocations: 35.81 kB / 0.738 GB, free: 14.75 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.0008998/0.5286, allocations: 265.7 kB / 0.7383 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002159/0.5308, allocations: 0.7563 MB / 0.739 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003526/0.5343, allocations: 1.242 MB / 0.7402 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008036/0.5424, allocations: 4.904 MB / 0.745 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005028/0.5475, allocations: 2.944 MB / 0.7479 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004234/0.5517, allocations: 1.684 MB / 0.7495 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002385/0.5542, allocations: 1.921 MB / 0.7514 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005303/0.5547, allocations: 252 kB / 0.7516 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001722/0.5564, allocations: 0.8196 MB / 0.7524 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006748/0.5571, allocations: 0.8557 MB / 0.7533 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001934/0.5591, allocations: 1.919 MB / 0.7551 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005104/0.5642, allocations: 5.959 MB / 0.761 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.5642, allocations: 0 / 0.761 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of FrontEnd: time 8.92e-07/0.5642, allocations: 0 / 0.761 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.668e-05/0.5643, allocations: 0 / 0.761 GB, free: 7.121 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.008867/0.5732, allocations: 4.606 MB / 0.7655 GB, free: 2.438 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.5732, allocations: 12.03 kB / 0.7655 GB, free: 2.426 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006/0.5738, allocations: 0.498 MB / 0.766 GB, free: 1.918 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009833/0.5837, allocations: 1.36 MB / 0.7673 GB, free: 0.5508 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004167/0.5879, allocations: 2.389 MB / 0.7696 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004254/0.5883, allocations: 0.5048 MB / 0.7701 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006579/0.589, allocations: 363.9 kB / 0.7705 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01039/0.5994, allocations: 5.211 MB / 0.7756 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.844e-05/0.5995, allocations: 7.922 kB / 0.7756 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003735/0.5999, allocations: 148 kB / 0.7757 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.239e-05/0.5999, allocations: 92 kB / 0.7758 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01167/0.6116, allocations: 5.558 MB / 0.7812 GB, free: 2.082 MB / 0.6075 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.02714/0.6388, allocations: 19.3 MB / 0.8001 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01072/0.6495, allocations: 4.461 MB / 0.8044 GB, free: 9.047 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003975/0.6535, allocations: 1.88 MB / 0.8063 GB, free: 7.156 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001127/0.6547, allocations: 1.085 MB / 0.8073 GB, free: 5.848 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004789/0.6595, allocations: 2.275 MB / 0.8095 GB, free: 3.523 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=259): time 5.27e-06/0.6595, allocations: 7.938 kB / 0.8095 GB, free: 3.516 MB / 0.6387 GB Notification: Performance of matching and sorting (n=259): time 0.2487/0.9082, allocations: 5.809 MB / 0.8152 GB, free: 213.4 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.758e-05/0.9084, allocations: 217.2 kB / 0.8154 GB, free: 213.2 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004104/0.9125, allocations: 2.212 MB / 0.8176 GB, free: 212.4 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0003311/0.9128, allocations: 79.84 kB / 0.8177 GB, free: 212.3 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001275/0.9141, allocations: 1.448 MB / 0.8191 GB, free: 211.4 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007391/0.9149, allocations: 0.862 MB / 0.8199 GB, free: 210.7 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001094/0.916, allocations: 0.6015 MB / 0.8205 GB, free: 210.5 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 3.765e-05/0.916, allocations: 307 kB / 0.8208 GB, free: 210.2 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004037/0.92, allocations: 1.751 MB / 0.8225 GB, free: 209.6 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004249/0.9243, allocations: 2.168 MB / 0.8246 GB, free: 208.6 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0076/0.9319, allocations: 3.877 MB / 0.8284 GB, free: 207 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-05/0.932, allocations: 4.656 kB / 0.8284 GB, free: 207 MB / 0.6387 GB Notification: Performance of matching and sorting (n=330) (initialization): time 0.009759/0.9417, allocations: 4.485 MB / 0.8328 GB, free: 205.4 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.228e-05/0.9418, allocations: 37.61 kB / 0.8328 GB, free: 205.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.9418, allocations: 9.922 kB / 0.8328 GB, free: 205.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006043/0.9424, allocations: 93.98 kB / 0.8329 GB, free: 205.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003781/0.9462, allocations: 0.8242 MB / 0.8337 GB, free: 205.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00176/0.948, allocations: 1.593 MB / 0.8353 GB, free: 203.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003567/0.9516, allocations: 0.5015 MB / 0.8358 GB, free: 203.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003613/0.9519, allocations: 146.1 kB / 0.8359 GB, free: 203.6 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.001915/0.9539, allocations: 1.019 MB / 0.8369 GB, free: 203.1 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007547/0.9546, allocations: 258.7 kB / 0.8372 GB, free: 203 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01065/0.9653, allocations: 5.078 MB / 0.8421 GB, free: 200.1 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/0.9653, allocations: 26.53 kB / 0.8421 GB, free: 200.1 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.9653, allocations: 0 / 0.8421 GB, free: 200.1 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-05/0.9654, allocations: 15.94 kB / 0.8422 GB, free: 200.1 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01372/0.9791, allocations: 9.032 MB / 0.851 GB, free: 194.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.9791, allocations: 0 / 0.851 GB, free: 194.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002951/0.9821, allocations: 0.6899 MB / 0.8517 GB, free: 193.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004897/0.9826, allocations: 96.72 kB / 0.8517 GB, free: 193.6 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002187/0.9828, allocations: 79.92 kB / 0.8518 GB, free: 193.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001443/0.9843, allocations: 1.591 MB / 0.8534 GB, free: 191.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.9843, allocations: 3.984 kB / 0.8534 GB, free: 191.8 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007666/0.992, allocations: 3.972 MB / 0.8573 GB, free: 187.7 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001329/0.9933, allocations: 0.8171 MB / 0.8581 GB, free: 186.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006288/0.9939, allocations: 71.69 kB / 0.8581 GB, free: 186.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00273/0.9967, allocations: 315.5 kB / 0.8584 GB, free: 186.5 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003622/0.997, allocations: 202 kB / 0.8586 GB, free: 186.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002188/0.9973, allocations: 104 kB / 0.8587 GB, free: 186.2 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002264/0.9995, allocations: 1.695 MB / 0.8604 GB, free: 184.5 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9996, allocations: 0 / 0.8604 GB, free: 184.5 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002463/1.002, allocations: 1.028 MB / 0.8614 GB, free: 183.5 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.008852/1.011, allocations: 5.132 MB / 0.8664 GB, free: 178.6 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.007622/1.019, allocations: 4.084 MB / 0.8704 GB, free: 174.4 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/1.019, allocations: 0 / 0.8704 GB, free: 174.4 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003528/1.022, allocations: 2.054 MB / 0.8724 GB, free: 172.4 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002518/1.025, allocations: 487.8 kB / 0.8728 GB, free: 171.9 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0603/1.085, allocations: 32.05 MB / 0.9041 GB, free: 138.1 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002107/1.087, allocations: 2.517 MB / 0.9066 GB, free: 135.6 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003722/1.091, allocations: 0.9805 MB / 0.9076 GB, free: 134.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002297/1.093, allocations: 1.55 MB / 0.9091 GB, free: 133 MB / 0.6387 GB Notification: Performance of SimCode: time 1.192e-06/1.093, allocations: 0 / 0.9091 GB, free: 133 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.031/5.124, allocations: 66.49 MB / 0.974 GB, free: 67.07 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002/5.125, allocations: 277.5 kB / 0.9743 GB, free: 66.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.014/9.138, allocations: 0 / 0.9743 GB, free: 66.7 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 & /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)