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/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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007661/0.007661, allocations: 101.3 kB / 15.73 MB, free: 6.441 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.001362/0.001362, allocations: 198.3 kB / 16.67 MB, free: 6.355 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.515/1.515, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7735/0.7735, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 63.83 kB / 0.5814 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.1932, allocations: 80.21 MB / 0.6597 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection): time 0.0113/0.2045, allocations: 8.656 MB / 0.6681 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.702/0.9065, allocations: 156.3 MB / 0.8207 GB, free: 3.227 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002345/0.9089, allocations: 59.31 kB / 0.8208 GB, free: 3.227 MB / 0.6387 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.001107/0.91, allocations: 350.4 kB / 0.8211 GB, free: 3.227 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004104/0.9142, allocations: 1.107 MB / 0.8222 GB, free: 3.199 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00445/0.9186, allocations: 1.415 MB / 0.8236 GB, free: 3.164 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00846/0.9271, allocations: 5.35 MB / 0.8288 GB, free: 3.145 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005662/0.9328, allocations: 2.807 MB / 0.8316 GB, free: 2.715 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005645/0.9385, allocations: 2.132 MB / 0.8337 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003519/0.942, allocations: 2.029 MB / 0.8356 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000907/0.9429, allocations: 0.4928 MB / 0.8361 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002667/0.9456, allocations: 1.102 MB / 0.8372 GB, free: 2.531 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001027/0.9466, allocations: 1.089 MB / 0.8383 GB, free: 2.383 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002743/0.9494, allocations: 2.124 MB / 0.8403 GB, free: 1.785 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.009128/0.9585, allocations: 6.09 MB / 0.8463 GB, free: 0.9688 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.9586, allocations: 0 / 0.8463 GB, free: 0.9688 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.295e-06/0.9586, allocations: 0 / 0.8463 GB, free: 0.9688 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001934/0.9588, allocations: 0.9375 kB / 0.8463 GB, free: 0.9688 MB / 0.6387 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.01219/0.971, allocations: 4.429 MB / 0.8506 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.971, allocations: 10.47 kB / 0.8506 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009824/0.9809, allocations: 1.337 MB / 0.8519 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005716/0.9866, allocations: 2.459 MB / 0.8543 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002464/0.9869, allocations: 253 kB / 0.8546 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00102/0.9879, allocations: 315.7 kB / 0.8549 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01099/0.9989, allocations: 4.766 MB / 0.8595 GB, free: 14 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.889e-05/0.999, allocations: 3.188 kB / 0.8595 GB, free: 14 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004401/0.9995, allocations: 140 kB / 0.8597 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.538e-05/0.9996, allocations: 82.88 kB / 0.8597 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01259/1.012, allocations: 5.157 MB / 0.8648 GB, free: 12.7 MB / 0.6544 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.03008/1.042, allocations: 16.56 MB / 0.8809 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01128/1.054, allocations: 4.299 MB / 0.8851 GB, free: 15.13 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004306/1.058, allocations: 1.81 MB / 0.8869 GB, free: 14.18 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001963/1.06, allocations: 1.635 MB / 0.8885 GB, free: 12.32 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005432/1.065, allocations: 2.146 MB / 0.8906 GB, free: 11.02 MB / 0.67 GB Notification: Performance of pre-optimization done (n=239): time 6.061e-06/1.065, allocations: 3.938 kB / 0.8906 GB, free: 11.02 MB / 0.67 GB Notification: Performance of matching and sorting (n=239): time 0.01478/1.08, allocations: 5.535 MB / 0.896 GB, free: 5.719 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001681/1.08, allocations: 290.1 kB / 0.8963 GB, free: 5.379 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004059/1.084, allocations: 2.378 MB / 0.8986 GB, free: 2.977 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0005125/1.085, allocations: 65.7 kB / 0.8987 GB, free: 2.906 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.00138/1.086, allocations: 1.394 MB / 0.9 GB, free: 1.5 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009703/1.087, allocations: 0.8006 MB / 0.9008 GB, free: 0.707 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001035/1.088, allocations: 0.5822 MB / 0.9014 GB, free: 120 kB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001491/1.089, allocations: 305.1 kB / 0.9017 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004191/1.093, allocations: 1.676 MB / 0.9033 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004456/1.097, allocations: 2.054 MB / 0.9053 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008543/1.106, allocations: 3.682 MB / 0.9089 GB, free: 8.191 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.199e-05/1.106, allocations: 4 kB / 0.9089 GB, free: 8.188 MB / 0.6856 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.01088/1.117, allocations: 4.284 MB / 0.9131 GB, free: 3.891 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.103e-05/1.117, allocations: 8 kB / 0.9131 GB, free: 3.883 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-05/1.117, allocations: 8 kB / 0.9131 GB, free: 3.875 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006547/1.117, allocations: 96.89 kB / 0.9132 GB, free: 3.777 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004083/1.122, allocations: 0.7828 MB / 0.914 GB, free: 3.027 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00233/1.124, allocations: 1.698 MB / 0.9156 GB, free: 1.195 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004759/1.129, allocations: 496.7 kB / 0.9161 GB, free: 0.7109 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004443/1.129, allocations: 143.8 kB / 0.9162 GB, free: 0.5703 MB / 0.6856 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.002391/1.132, allocations: 0.9863 MB / 0.9172 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009312/1.132, allocations: 264.7 kB / 0.9175 GB, free: 15.35 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01087/1.143, allocations: 4.462 MB / 0.9218 GB, free: 10.83 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.529e-05/1.143, allocations: 35.92 kB / 0.9218 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.143, allocations: 0 / 0.9218 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.733e-05/1.143, allocations: 11.95 kB / 0.9219 GB, free: 10.78 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01777/1.161, allocations: 8.548 MB / 0.9302 GB, free: 2.098 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/1.161, allocations: 0 / 0.9302 GB, free: 2.098 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003225/1.165, allocations: 0.6396 MB / 0.9308 GB, free: 1.484 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004578/1.165, allocations: 84.78 kB / 0.9309 GB, free: 1.398 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001889/1.165, allocations: 67.94 kB / 0.931 GB, free: 1.332 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002065/1.167, allocations: 1.718 MB / 0.9327 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/1.167, allocations: 0 / 0.9327 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008993/1.176, allocations: 3.744 MB / 0.9363 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002069/1.178, allocations: 0.817 MB / 0.9371 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006169/1.179, allocations: 67.62 kB / 0.9372 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002897/1.182, allocations: 303.6 kB / 0.9375 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003978/1.182, allocations: 161.9 kB / 0.9376 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002088/1.183, allocations: 91.94 kB / 0.9377 GB, free: 10.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002723/1.185, allocations: 1.773 MB / 0.9394 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.863e-06/1.185, allocations: 0 / 0.9394 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00296/1.188, allocations: 0.9619 MB / 0.9404 GB, free: 7.457 MB / 0.7169 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.001656/1.19, allocations: 0.6812 MB / 0.941 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.009232/1.199, allocations: 3.83 MB / 0.9448 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/1.199, allocations: 4 kB / 0.9448 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.004149/1.203, allocations: 1.915 MB / 0.9467 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002721/1.206, allocations: 0.5107 MB / 0.9472 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01384/1.22, allocations: 6.969 MB / 0.954 GB, free: 9.824 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001963/1.222, allocations: 2.423 MB / 0.9563 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003881/1.226, allocations: 0.9837 MB / 0.9573 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001342/1.227, allocations: 315.2 kB / 0.9576 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of SimCode: time 1.011e-06/1.227, allocations: 0 / 0.9576 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of Templates: time 0.07714/1.304, allocations: 45.8 MB / 1.002 GB, free: 8.758 MB / 0.7794 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)