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.008064/0.008064, allocations: 101.7 kB / 15.73 MB, free: 5.969 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.001566/0.001566, allocations: 195.8 kB / 16.67 MB, free: 5.906 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7528/0.7528, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 63.89 kB / 0.5814 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2233, allocations: 80.2 MB / 0.6597 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection): time 0.01267/0.2361, allocations: 8.66 MB / 0.6682 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.7205/0.9566, allocations: 156.3 MB / 0.8208 GB, free: 3.203 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002094/0.9588, allocations: 55.62 kB / 0.8208 GB, free: 3.203 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.001054/0.9599, allocations: 353 kB / 0.8211 GB, free: 3.203 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003804/0.9637, allocations: 1.107 MB / 0.8222 GB, free: 3.176 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004226/0.9679, allocations: 1.411 MB / 0.8236 GB, free: 3.145 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.008482/0.9764, allocations: 5.353 MB / 0.8288 GB, free: 3.125 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00473/0.9811, allocations: 2.802 MB / 0.8316 GB, free: 2.703 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005587/0.9868, allocations: 2.14 MB / 0.8337 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004441/0.9912, allocations: 2.034 MB / 0.8356 GB, free: 2.531 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001234/0.9924, allocations: 0.4936 MB / 0.8361 GB, free: 2.531 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002985/0.9954, allocations: 1.097 MB / 0.8372 GB, free: 2.516 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000888/0.9963, allocations: 1.091 MB / 0.8383 GB, free: 2.367 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002574/0.9989, allocations: 2.125 MB / 0.8403 GB, free: 1.77 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00771/1.007, allocations: 6.089 MB / 0.8463 GB, free: 0.9531 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/1.007, allocations: 0 / 0.8463 GB, free: 0.9531 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.655e-06/1.007, allocations: 0 / 0.8463 GB, free: 0.9531 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001103/1.007, allocations: 1.094 kB / 0.8463 GB, free: 0.9531 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.009687/1.016, allocations: 4.422 MB / 0.8506 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/1.017, allocations: 10.09 kB / 0.8506 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008859/1.025, allocations: 1.349 MB / 0.8519 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004659/1.03, allocations: 2.452 MB / 0.8543 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001889/1.03, allocations: 249.4 kB / 0.8546 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005303/1.031, allocations: 321.3 kB / 0.8549 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01014/1.041, allocations: 4.759 MB / 0.8595 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.296e-05/1.041, allocations: 3.094 kB / 0.8595 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004336/1.042, allocations: 141.1 kB / 0.8597 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.656e-05/1.042, allocations: 78.38 kB / 0.8597 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01169/1.053, allocations: 5.156 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.03308/1.086, allocations: 16.58 MB / 0.881 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01147/1.098, allocations: 4.289 MB / 0.8851 GB, free: 15.14 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00438/1.102, allocations: 1.815 MB / 0.8869 GB, free: 14.18 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00179/1.104, allocations: 1.634 MB / 0.8885 GB, free: 12.32 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005804/1.11, allocations: 2.144 MB / 0.8906 GB, free: 11.03 MB / 0.67 GB Notification: Performance of pre-optimization done (n=239): time 1.429e-05/1.11, allocations: 0 / 0.8906 GB, free: 11.03 MB / 0.67 GB Notification: Performance of matching and sorting (n=239): time 0.01583/1.126, allocations: 5.539 MB / 0.896 GB, free: 5.742 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001741/1.126, allocations: 283 kB / 0.8963 GB, free: 5.406 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005933/1.132, allocations: 2.377 MB / 0.8986 GB, free: 3.008 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.000552/1.133, allocations: 69.7 kB / 0.8987 GB, free: 2.934 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001908/1.134, allocations: 1.388 MB / 0.9 GB, free: 1.535 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001186/1.136, allocations: 0.8071 MB / 0.9008 GB, free: 0.7344 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001909/1.138, allocations: 0.5822 MB / 0.9014 GB, free: 148 kB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001451/1.138, allocations: 309.6 kB / 0.9017 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004217/1.142, allocations: 1.679 MB / 0.9033 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004673/1.147, allocations: 2.054 MB / 0.9053 GB, free: 11.99 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009352/1.156, allocations: 3.678 MB / 0.9089 GB, free: 8.215 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.021e-05/1.156, allocations: 0 / 0.9089 GB, free: 8.215 MB / 0.6856 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.01259/1.169, allocations: 4.287 MB / 0.9131 GB, free: 3.914 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.168e-05/1.169, allocations: 8 kB / 0.9131 GB, free: 3.906 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.029e-05/1.169, allocations: 8.5 kB / 0.9131 GB, free: 3.898 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000702/1.17, allocations: 92.78 kB / 0.9132 GB, free: 3.805 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004086/1.174, allocations: 0.7867 MB / 0.914 GB, free: 3.051 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002812/1.176, allocations: 1.707 MB / 0.9156 GB, free: 1.211 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005094/1.182, allocations: 493.7 kB / 0.9161 GB, free: 0.7266 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005641/1.182, allocations: 135.8 kB / 0.9162 GB, free: 0.5938 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.004092/1.186, allocations: 0.987 MB / 0.9172 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001899/1.188, allocations: 264.7 kB / 0.9175 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01356/1.202, allocations: 4.462 MB / 0.9218 GB, free: 10.85 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-05/1.202, allocations: 28 kB / 0.9218 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/1.202, allocations: 4 kB / 0.9218 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.776e-05/1.202, allocations: 11.95 kB / 0.9219 GB, free: 10.81 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02065/1.223, allocations: 8.548 MB / 0.9302 GB, free: 2.125 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.769e-06/1.223, allocations: 0 / 0.9302 GB, free: 2.125 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003291/1.226, allocations: 0.6373 MB / 0.9308 GB, free: 1.512 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004982/1.226, allocations: 80.78 kB / 0.9309 GB, free: 1.43 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003432/1.227, allocations: 68.05 kB / 0.931 GB, free: 1.363 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002113/1.229, allocations: 1.718 MB / 0.9326 GB, free: 15.51 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/1.229, allocations: 7.984 kB / 0.9327 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01017/1.239, allocations: 3.745 MB / 0.9363 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002491/1.242, allocations: 0.817 MB / 0.9371 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001149/1.243, allocations: 67.62 kB / 0.9372 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003536/1.246, allocations: 295.5 kB / 0.9375 GB, free: 10.48 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004455/1.247, allocations: 169 kB / 0.9376 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002852/1.247, allocations: 91.94 kB / 0.9377 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.004129/1.251, allocations: 1.769 MB / 0.9394 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/1.251, allocations: 3.938 kB / 0.9394 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004372/1.256, allocations: 0.9581 MB / 0.9404 GB, free: 7.484 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.002286/1.258, allocations: 0.6947 MB / 0.9411 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01004/1.268, allocations: 3.833 MB / 0.9448 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.738e-06/1.268, allocations: 4 kB / 0.9448 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.004771/1.273, allocations: 1.915 MB / 0.9467 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004512/1.277, allocations: 0.499 MB / 0.9472 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01841/1.296, allocations: 6.977 MB / 0.954 GB, free: 9.844 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003445/1.299, allocations: 2.42 MB / 0.9563 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.005887/1.305, allocations: 0.9837 MB / 0.9573 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002257/1.308, allocations: 323.2 kB / 0.9576 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of SimCode: time 1.362e-06/1.308, allocations: 0 / 0.9576 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of Templates: time 0.08658/1.394, allocations: 45.79 MB / 1.002 GB, free: 8.777 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)