Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection") translateModel(IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 182.8 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6861/0.6861, allocations: 132.2 MB / 148.9 MB, free: 12.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 222.9 MB / 403.4 MB, free: 7.074 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 97.97 kB / 484.3 MB, free: 8.715 MB / 394.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.001029/0.00103, allocations: 51.92 kB / 0.5619 GB, free: 71.04 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1795, allocations: 80.2 MB / 0.6402 GB, free: 6.762 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection): time 0.01249/0.1921, allocations: 8.594 MB / 0.6486 GB, free: 14.11 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.5161/0.7083, allocations: 153.9 MB / 0.7989 GB, free: 0.6914 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001718/0.71, allocations: 59.69 kB / 0.799 GB, free: 0.6328 MB / 0.5261 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). Notification: Performance of NFTyping.typeComponents: time 0.0008955/0.7109, allocations: 258.7 kB / 0.7992 GB, free: 388 kB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.002876/0.7138, allocations: 0.9289 MB / 0.8001 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.002814/0.7166, allocations: 1.256 MB / 0.8014 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.005305/0.722, allocations: 5.065 MB / 0.8063 GB, free: 9.121 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003324/0.7253, allocations: 2.718 MB / 0.809 GB, free: 6.332 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003614/0.7289, allocations: 1.683 MB / 0.8106 GB, free: 4.652 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002363/0.7313, allocations: 1.792 MB / 0.8123 GB, free: 2.852 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0004986/0.7318, allocations: 216 kB / 0.8126 GB, free: 2.641 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00173/0.7336, allocations: 0.8 MB / 0.8133 GB, free: 1.84 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0007878/0.7344, allocations: 0.7779 MB / 0.8141 GB, free: 1.059 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.002479/0.7368, allocations: 1.826 MB / 0.8159 GB, free: 15.22 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.006105/0.743, allocations: 5.72 MB / 0.8215 GB, free: 9.488 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 7.044e-06/0.743, allocations: 4 kB / 0.8215 GB, free: 9.484 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.583e-06/0.743, allocations: 0 / 0.8215 GB, free: 9.484 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001606/0.7432, allocations: 0 / 0.8215 GB, free: 9.484 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 838 * Number of variables: 838 Notification: Performance of Generate backend data structure: time 0.01069/0.7539, allocations: 4.411 MB / 0.8258 GB, free: 4.996 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.7539, allocations: 12.03 kB / 0.8258 GB, free: 4.984 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009226/0.7632, allocations: 1.341 MB / 0.8271 GB, free: 3.637 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005061/0.7683, allocations: 2.399 MB / 0.8294 GB, free: 1.16 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002149/0.7685, allocations: 250.5 kB / 0.8297 GB, free: 0.9141 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007075/0.7692, allocations: 327.9 kB / 0.83 GB, free: 0.5938 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009912/0.7791, allocations: 4.758 MB / 0.8346 GB, free: 11.72 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.118e-05/0.7792, allocations: 3.938 kB / 0.8346 GB, free: 11.72 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003457/0.7796, allocations: 135.9 kB / 0.8348 GB, free: 11.59 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.218e-05/0.7796, allocations: 80 kB / 0.8348 GB, free: 11.51 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01194/0.7916, allocations: 5.153 MB / 0.8399 GB, free: 6.344 MB / 0.573 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.02943/0.8211, allocations: 16.7 MB / 0.8562 GB, free: 4.82 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01058/0.8317, allocations: 4.287 MB / 0.8604 GB, free: 0.5195 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003974/0.8357, allocations: 1.818 MB / 0.8621 GB, free: 14.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001604/0.8373, allocations: 1.632 MB / 0.8637 GB, free: 12.71 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004604/0.8419, allocations: 2.156 MB / 0.8658 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=239): time 4.258e-06/0.842, allocations: 0 / 0.8658 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=239): time 0.01428/0.8562, allocations: 5.526 MB / 0.8712 GB, free: 4.984 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001667/0.8564, allocations: 283 kB / 0.8715 GB, free: 4.648 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003702/0.8602, allocations: 2.39 MB / 0.8738 GB, free: 2.234 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0005317/0.8607, allocations: 65.7 kB / 0.8739 GB, free: 2.164 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001308/0.862, allocations: 1.389 MB / 0.8753 GB, free: 0.7578 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.001035/0.8631, allocations: 0.7971 MB / 0.876 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001026/0.8641, allocations: 0.5784 MB / 0.8766 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.8642, allocations: 305.1 kB / 0.8769 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004076/0.8683, allocations: 1.675 MB / 0.8785 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004451/0.8728, allocations: 2.058 MB / 0.8805 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008393/0.8812, allocations: 3.686 MB / 0.8841 GB, free: 7.391 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/0.8812, allocations: 4 kB / 0.8841 GB, free: 7.387 MB / 0.6198 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.01072/0.8919, allocations: 4.278 MB / 0.8883 GB, free: 3.055 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.892, allocations: 8 kB / 0.8883 GB, free: 3.047 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/0.892, allocations: 8 kB / 0.8883 GB, free: 3.039 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006043/0.8926, allocations: 105.3 kB / 0.8884 GB, free: 2.934 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003939/0.8966, allocations: 0.7761 MB / 0.8892 GB, free: 2.156 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002198/0.8988, allocations: 1.586 MB / 0.8907 GB, free: 440 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004338/0.9031, allocations: 498.3 kB / 0.8912 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005263/0.9037, allocations: 145 kB / 0.8914 GB, free: 15.8 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 14 (sim.weaDat.conTim.canRepeatWeatherFile,sim.weaDat.conTimMin.canRepeatWeatherFile,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,sim.weaDat.conTim.tNext,$PRE.sim.weaDat.conTim.tNext,sim.weaDat.conTimMin.tNext,$PRE.sim.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (314): * Single equations (assignments): 313 * Array equations: 0 * Algorithm blocks: 0 * 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.002017/0.9057, allocations: 0.9911 MB / 0.8923 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008457/0.9066, allocations: 268.6 kB / 0.8926 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01072/0.9173, allocations: 4.463 MB / 0.8969 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.286e-05/0.9174, allocations: 28 kB / 0.897 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.9174, allocations: 0 / 0.897 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.289e-05/0.9174, allocations: 15.95 kB / 0.897 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01621/0.9336, allocations: 8.599 MB / 0.9054 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.9336, allocations: 0 / 0.9054 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003163/0.9368, allocations: 0.628 MB / 0.906 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005303/0.9374, allocations: 92.78 kB / 0.9061 GB, free: 408 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002273/0.9376, allocations: 71.94 kB / 0.9062 GB, free: 336 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00179/0.9394, allocations: 1.606 MB / 0.9077 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.9394, allocations: 0 / 0.9077 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01405/0.9535, allocations: 6.83 MB / 0.9144 GB, free: 7.609 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001822/0.9553, allocations: 0.817 MB / 0.9152 GB, free: 6.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004991/0.9558, allocations: 67.69 kB / 0.9153 GB, free: 6.703 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002828/0.9587, allocations: 309 kB / 0.9155 GB, free: 6.402 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003835/0.9591, allocations: 169.8 kB / 0.9157 GB, free: 6.234 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002224/0.9593, allocations: 87.94 kB / 0.9158 GB, free: 6.148 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.002719/0.962, allocations: 1.773 MB / 0.9175 GB, free: 4.367 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.663e-06/0.9621, allocations: 0 / 0.9175 GB, free: 4.367 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002947/0.965, allocations: 0.9696 MB / 0.9185 GB, free: 3.395 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,sim.weaDat.conTimMin.tNext,sim.weaDat.conTim.tNext) * Number of discrete states: 2 (sim.weaDat.conTimMin.tNext,sim.weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (267): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001685/0.9667, allocations: 0.6868 MB / 0.9191 GB, free: 2.883 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.008669/0.9754, allocations: 3.822 MB / 0.9229 GB, free: 15.02 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/0.9754, allocations: 8 kB / 0.9229 GB, free: 15.01 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.003961/0.9794, allocations: 1.905 MB / 0.9247 GB, free: 13.09 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002526/0.9819, allocations: 477.3 kB / 0.9252 GB, free: 12.62 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01543/0.9974, allocations: 10.02 MB / 0.935 GB, free: 2.539 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001962/0.9994, allocations: 2.5 MB / 0.9374 GB, free: 4 kB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.004091/1.003, allocations: 0.9761 MB / 0.9384 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001301/1.005, allocations: 319.1 kB / 0.9387 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of SimCode: time 8.52e-07/1.005, allocations: 0 / 0.9387 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of Templates: time 0.3389/1.344, allocations: 44.8 MB / 0.9824 GB, free: 239.3 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection.makefile (rm -f IDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection.pipe ; mkfifo IDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection.pipe ; head -c 1048576 < IDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection.pipe >> ../files/IDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection.sim & ./IDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection.pipe 2>&1)