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.001716/0.001716, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.001845/0.001846, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7538/0.7538, allocations: 132.2 MB / 423.3 MB, free: 6.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 63.91 kB / 0.5032 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3179, allocations: 80.18 MB / 0.5815 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection): time 0.008306/0.3262, allocations: 8.667 MB / 0.59 GB, free: 20.67 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1615/0.4878, allocations: 156.3 MB / 0.7426 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001699/0.4895, allocations: 55.75 kB / 0.7426 GB, free: 8.664 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). Notification: Performance of NFTyping.typeComponents: time 0.00101/0.4905, allocations: 352.4 kB / 0.743 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002906/0.4934, allocations: 1.093 MB / 0.744 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002829/0.4963, allocations: 1.409 MB / 0.7454 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005461/0.5017, allocations: 5.342 MB / 0.7506 GB, free: 472 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2887/0.7904, allocations: 2.806 MB / 0.7534 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003571/0.7941, allocations: 2.056 MB / 0.7554 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00303/0.7971, allocations: 2.028 MB / 0.7574 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001365/0.7985, allocations: 0.4926 MB / 0.7578 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003406/0.8019, allocations: 1.099 MB / 0.7589 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001353/0.8033, allocations: 1.095 MB / 0.76 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003295/0.8066, allocations: 2.124 MB / 0.762 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008074/0.8147, allocations: 6.073 MB / 0.768 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.8147, allocations: 5.094 kB / 0.768 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.834e-06/0.8147, allocations: 3.375 kB / 0.768 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002056/0.8149, allocations: 0.8438 kB / 0.768 GB, free: 1.531 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: 838 * Number of variables: 838 Notification: Performance of Generate backend data structure: time 0.01172/0.8267, allocations: 4.42 MB / 0.7723 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.8267, allocations: 9.375 kB / 0.7723 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009758/0.8365, allocations: 1.346 MB / 0.7736 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006508/0.843, allocations: 2.462 MB / 0.776 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003511/0.8434, allocations: 253.2 kB / 0.7763 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001603/0.845, allocations: 322.7 kB / 0.7766 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008949/0.854, allocations: 4.765 MB / 0.7812 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.345e-05/0.8541, allocations: 2.406 kB / 0.7812 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003353/0.8544, allocations: 133.4 kB / 0.7814 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.785e-05/0.8545, allocations: 83.56 kB / 0.7814 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01046/0.8649, allocations: 5.154 MB / 0.7865 GB, free: 14.53 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.03/0.895, allocations: 16.57 MB / 0.8027 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01037/0.9054, allocations: 4.284 MB / 0.8068 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004044/0.9095, allocations: 1.819 MB / 0.8086 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001542/0.911, allocations: 1.631 MB / 0.8102 GB, free: 5.297 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005001/0.916, allocations: 2.152 MB / 0.8123 GB, free: 4.012 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=239): time 5.14e-06/0.9161, allocations: 1.219 kB / 0.8123 GB, free: 4.012 MB / 0.5919 GB Notification: Performance of matching and sorting (n=239): time 0.01366/0.9297, allocations: 5.525 MB / 0.8177 GB, free: 1.117 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001644/0.9299, allocations: 287.8 kB / 0.818 GB, free: 0.8008 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003695/0.9336, allocations: 2.387 MB / 0.8203 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0006684/0.9343, allocations: 69.7 kB / 0.8204 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.00138/0.9357, allocations: 1.387 MB / 0.8217 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001037/0.9368, allocations: 0.7998 MB / 0.8225 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001047/0.9378, allocations: 0.5784 MB / 0.8231 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.9379, allocations: 305.1 kB / 0.8234 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003849/0.9418, allocations: 1.672 MB / 0.825 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004508/0.9463, allocations: 2.055 MB / 0.827 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008664/0.955, allocations: 3.683 MB / 0.8306 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.279e-05/0.9551, allocations: 4 kB / 0.8306 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.01094/0.966, allocations: 4.285 MB / 0.8348 GB, free: 24 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/0.966, allocations: 11.94 kB / 0.8348 GB, free: 12 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/0.9661, allocations: 8 kB / 0.8348 GB, free: 4 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006304/0.9667, allocations: 104.8 kB / 0.8349 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003991/0.9707, allocations: 0.7777 MB / 0.8357 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002111/0.9728, allocations: 1.708 MB / 0.8373 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004036/0.9769, allocations: 490.2 kB / 0.8378 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003515/0.9772, allocations: 143.8 kB / 0.8379 GB, free: 12.69 MB / 0.6231 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.002005/0.9793, allocations: 0.9865 MB / 0.8389 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007195/0.98, allocations: 268.6 kB / 0.8392 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01033/0.9903, allocations: 4.452 MB / 0.8435 GB, free: 6.953 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.149e-05/0.9904, allocations: 24 kB / 0.8435 GB, free: 6.93 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.9904, allocations: 0 / 0.8435 GB, free: 6.93 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.588e-05/0.9904, allocations: 15.94 kB / 0.8436 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01685/1.007, allocations: 8.56 MB / 0.8519 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/1.007, allocations: 0 / 0.8519 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003227/1.011, allocations: 0.6336 MB / 0.8525 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004872/1.011, allocations: 84.78 kB / 0.8526 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002632/1.011, allocations: 70.94 kB / 0.8527 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001978/1.013, allocations: 1.728 MB / 0.8544 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/1.013, allocations: 0 / 0.8544 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009004/1.022, allocations: 3.741 MB / 0.858 GB, free: 7.77 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002432/1.025, allocations: 0.8131 MB / 0.8588 GB, free: 6.934 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001081/1.026, allocations: 67.69 kB / 0.8589 GB, free: 6.867 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003243/1.029, allocations: 301.1 kB / 0.8592 GB, free: 6.574 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004005/1.03, allocations: 169.8 kB / 0.8593 GB, free: 6.406 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002756/1.03, allocations: 95.78 kB / 0.8594 GB, free: 6.316 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003365/1.033, allocations: 1.769 MB / 0.8612 GB, free: 4.539 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.61e-07/1.033, allocations: 0 / 0.8612 GB, free: 4.539 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003325/1.037, allocations: 0.9619 MB / 0.8621 GB, free: 3.574 MB / 0.6387 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.001922/1.039, allocations: 0.6944 MB / 0.8628 GB, free: 3.137 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.009108/1.048, allocations: 3.838 MB / 0.8665 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.186e-06/1.048, allocations: 0 / 0.8665 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.004365/1.052, allocations: 1.899 MB / 0.8684 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003344/1.055, allocations: 0.5098 MB / 0.8689 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01492/1.07, allocations: 6.978 MB / 0.8757 GB, free: 5.953 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002901/1.073, allocations: 2.416 MB / 0.878 GB, free: 3.508 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.004623/1.078, allocations: 0.9953 MB / 0.879 GB, free: 2.508 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001855/1.08, allocations: 311.2 kB / 0.8793 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of SimCode: time 1.182e-06/1.08, allocations: 0 / 0.8793 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of Templates: time 0.07481/1.155, allocations: 45.11 MB / 0.9234 GB, free: 5.559 MB / 0.7012 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection.pipe 2>&1)