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: "" <> buildModelFMU(IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection,fileNamePrefix="IDEAS_IDEAS_Buildings_Components_BaseClasses_ConvectiveHeatTransfer_Examples_Convection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection,fileNamePrefix="IDEAS_IDEAS_Buildings_Components_BaseClasses_ConvectiveHeatTransfer_Examples_Convection",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.001454/0.001454, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001679/0.001679, allocations: 190.4 kB / 16.14 MB, free: 6.707 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.29/1.29, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7298/0.7298, allocations: 132.2 MB / 422.1 MB, free: 2.012 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001131, allocations: 67.62 kB / 0.5012 GB, free: 9.062 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1259, allocations: 80.2 MB / 0.5795 GB, free: 9.086 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection): time 0.009137/0.1351, allocations: 8.603 MB / 0.5879 GB, free: 444 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3653/0.5004, allocations: 153.9 MB / 0.7383 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001451/0.5019, allocations: 55 kB / 0.7383 GB, free: 12.15 MB / 0.5606 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.0008674/0.5028, allocations: 262.1 kB / 0.7386 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002475/0.5053, allocations: 0.9316 MB / 0.7395 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002554/0.5078, allocations: 1.247 MB / 0.7407 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004504/0.5123, allocations: 5.023 MB / 0.7456 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002799/0.5151, allocations: 2.715 MB / 0.7482 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002982/0.5181, allocations: 1.672 MB / 0.7499 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001763/0.5199, allocations: 1.792 MB / 0.7516 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003985/0.5203, allocations: 224 kB / 0.7518 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001581/0.5219, allocations: 0.7922 MB / 0.7526 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006383/0.5226, allocations: 0.7856 MB / 0.7534 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001686/0.5243, allocations: 1.818 MB / 0.7551 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004822/0.5291, allocations: 5.716 MB / 0.7607 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.5291, allocations: 7.922 kB / 0.7607 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5291, allocations: 3.938 kB / 0.7607 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.274e-05/0.5292, allocations: 0 / 0.7607 GB, free: 9.621 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.008277/0.5375, allocations: 4.434 MB / 0.7651 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.5375, allocations: 8.031 kB / 0.7651 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005337/0.5381, allocations: 463.3 kB / 0.7655 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009818/0.5479, allocations: 1.341 MB / 0.7668 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0041/0.552, allocations: 2.396 MB / 0.7692 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001701/0.5522, allocations: 254.5 kB / 0.7694 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000518/0.5527, allocations: 316 kB / 0.7697 GB, free: 268 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009228/0.562, allocations: 4.759 MB / 0.7744 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.083e-05/0.562, allocations: 7.938 kB / 0.7744 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003412/0.5624, allocations: 135.9 kB / 0.7745 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.595e-05/0.5625, allocations: 80 kB / 0.7746 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01107/0.5735, allocations: 5.153 MB / 0.7796 GB, free: 6.008 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.025/0.5986, allocations: 16.71 MB / 0.7959 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01024/0.6088, allocations: 4.276 MB / 0.8001 GB, free: 204 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003835/0.6127, allocations: 1.81 MB / 0.8019 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001408/0.6141, allocations: 1.636 MB / 0.8035 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004548/0.6187, allocations: 2.149 MB / 0.8056 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=239): time 4.088e-06/0.6187, allocations: 0 / 0.8056 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of matching and sorting (n=239): time 0.01355/0.6323, allocations: 5.534 MB / 0.811 GB, free: 4.668 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.6324, allocations: 283 kB / 0.8112 GB, free: 4.332 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00313/0.6355, allocations: 2.378 MB / 0.8136 GB, free: 1.93 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0003219/0.6359, allocations: 69.7 kB / 0.8136 GB, free: 1.855 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001042/0.6369, allocations: 1.401 MB / 0.815 GB, free: 448 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007619/0.6377, allocations: 0.8051 MB / 0.8158 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009843/0.6387, allocations: 0.5627 MB / 0.8163 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.736e-05/0.6388, allocations: 301.1 kB / 0.8166 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003923/0.6427, allocations: 1.652 MB / 0.8182 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004188/0.6469, allocations: 2.046 MB / 0.8202 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008116/0.655, allocations: 3.665 MB / 0.8238 GB, free: 7.133 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.148e-05/0.6551, allocations: 4 kB / 0.8238 GB, free: 7.129 MB / 0.6387 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01053/0.6656, allocations: 4.234 MB / 0.8279 GB, free: 2.84 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.747e-05/0.6657, allocations: 9.875 kB / 0.828 GB, free: 2.832 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.6657, allocations: 8 kB / 0.828 GB, free: 2.824 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006215/0.6663, allocations: 100.9 kB / 0.8281 GB, free: 2.723 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004213/0.6705, allocations: 0.7682 MB / 0.8288 GB, free: 1.953 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002214/0.6728, allocations: 1.594 MB / 0.8304 GB, free: 224 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004498/0.6773, allocations: 489.8 kB / 0.8308 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004709/0.6778, allocations: 131.9 kB / 0.831 GB, free: 15.61 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 12 (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 (306): * Single equations (assignments): 305 * 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.001899/0.6797, allocations: 0.9829 MB / 0.8319 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007344/0.6804, allocations: 268.6 kB / 0.8322 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01065/0.6911, allocations: 4.474 MB / 0.8365 GB, free: 9.816 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-05/0.6912, allocations: 28 kB / 0.8366 GB, free: 9.789 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.6912, allocations: 0 / 0.8366 GB, free: 9.789 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.561e-05/0.6912, allocations: 15.95 kB / 0.8366 GB, free: 9.773 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01544/0.7067, allocations: 8.61 MB / 0.845 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/0.7067, allocations: 3.984 kB / 0.845 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003433/0.7101, allocations: 0.6281 MB / 0.8456 GB, free: 292 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005419/0.7107, allocations: 92.78 kB / 0.8457 GB, free: 196 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002965/0.711, allocations: 71.94 kB / 0.8458 GB, free: 124 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001858/0.7129, allocations: 1.602 MB / 0.8473 GB, free: 14.38 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.7129, allocations: 0 / 0.8473 GB, free: 14.38 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008507/0.7214, allocations: 3.738 MB / 0.851 GB, free: 10.55 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001317/0.7227, allocations: 0.8132 MB / 0.8518 GB, free: 9.719 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00044/0.7232, allocations: 71.67 kB / 0.8518 GB, free: 9.648 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002719/0.7259, allocations: 295.5 kB / 0.8521 GB, free: 9.359 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003436/0.7263, allocations: 169.8 kB / 0.8523 GB, free: 9.191 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002152/0.7265, allocations: 95.95 kB / 0.8524 GB, free: 9.098 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002444/0.7289, allocations: 1.773 MB / 0.8541 GB, free: 7.316 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.61e-07/0.729, allocations: 0 / 0.8541 GB, free: 7.316 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002359/0.7313, allocations: 0.9464 MB / 0.855 GB, free: 6.367 MB / 0.67 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.01007/0.7414, allocations: 4.897 MB / 0.8598 GB, free: 1.59 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.2246/0.9661, allocations: 3.786 MB / 0.8635 GB, free: 220.2 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.9661, allocations: 0.9375 kB / 0.8635 GB, free: 220.2 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003646/0.9697, allocations: 1.905 MB / 0.8654 GB, free: 219.6 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002299/0.9721, allocations: 489.4 kB / 0.8658 GB, free: 219.5 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06018/1.032, allocations: 31.35 MB / 0.8965 GB, free: 202.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001725/1.034, allocations: 2.417 MB / 0.8988 GB, free: 201.6 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00368/1.038, allocations: 0.9856 MB / 0.8998 GB, free: 201.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00212/1.04, allocations: 1.441 MB / 0.9012 GB, free: 200.4 MB / 0.67 GB Notification: Performance of SimCode: time 5.61e-07/1.04, allocations: 3.938 kB / 0.9012 GB, free: 200.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.973/4.013, allocations: 66.07 MB / 0.9657 GB, free: 158.5 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000194/4.013, allocations: 306.8 kB / 0.966 GB, free: 158.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.783/7.796, allocations: 0 / 0.966 GB, free: 158.1 MB / 0.67 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Buildings_Components_BaseClasses_ConvectiveHeatTransfer_Examples_Convection_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Buildings_Components_BaseClasses_ConvectiveHeatTransfer_Examples_Convection.fmu > IDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection.pipe 2>&1)