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.001209/0.001209, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001259/0.001259, allocations: 189.5 kB / 16.25 MB, free: 6.629 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.233/1.233, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6781/0.6781, allocations: 132.2 MB / 422.3 MB, free: 1.93 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 63.12 kB / 0.5014 GB, free: 8.934 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1253, allocations: 80.2 MB / 0.5797 GB, free: 8.957 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection): time 0.009371/0.1347, allocations: 8.603 MB / 0.5881 GB, free: 312 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3579/0.4926, allocations: 154 MB / 0.7384 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001314/0.494, allocations: 59.66 kB / 0.7385 GB, free: 11.79 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.0007935/0.4948, allocations: 261.6 kB / 0.7388 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002873/0.4977, allocations: 0.9582 MB / 0.7397 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002885/0.5006, allocations: 1.266 MB / 0.7409 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004791/0.5054, allocations: 5.366 MB / 0.7462 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002827/0.5082, allocations: 2.806 MB / 0.7489 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003265/0.5115, allocations: 2.078 MB / 0.7509 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002014/0.5135, allocations: 2.027 MB / 0.7529 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0006757/0.5142, allocations: 0.4922 MB / 0.7534 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00174/0.5159, allocations: 1.081 MB / 0.7544 GB, free: 132 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007752/0.5167, allocations: 1.086 MB / 0.7555 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001862/0.5186, allocations: 2.13 MB / 0.7576 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005071/0.5237, allocations: 5.942 MB / 0.7634 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.5237, allocations: 0 / 0.7634 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5237, allocations: 0 / 0.7634 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.19e-05/0.5238, allocations: 0 / 0.7634 GB, free: 6.941 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.008287/0.5321, allocations: 4.432 MB / 0.7677 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.5322, allocations: 11.97 kB / 0.7677 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005692/0.5327, allocations: 463.4 kB / 0.7682 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009255/0.542, allocations: 1.341 MB / 0.7695 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003366/0.5454, allocations: 2.396 MB / 0.7718 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001628/0.5455, allocations: 250.6 kB / 0.7721 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004722/0.546, allocations: 319.9 kB / 0.7724 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008368/0.5544, allocations: 4.767 MB / 0.777 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.545e-05/0.5545, allocations: 3.938 kB / 0.777 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003435/0.5548, allocations: 143.9 kB / 0.7772 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-05/0.5549, allocations: 80 kB / 0.7772 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01035/0.5652, allocations: 5.153 MB / 0.7823 GB, free: 3.316 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.02417/0.5894, allocations: 16.7 MB / 0.7986 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009733/0.5992, allocations: 4.28 MB / 0.8028 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003603/0.6028, allocations: 1.818 MB / 0.8045 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001413/0.6042, allocations: 1.639 MB / 0.8061 GB, free: 9.703 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00423/0.6085, allocations: 2.149 MB / 0.8082 GB, free: 7.535 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=239): time 3.687e-06/0.6085, allocations: 0 / 0.8082 GB, free: 7.535 MB / 0.6231 GB Notification: Performance of matching and sorting (n=239): time 0.01314/0.6216, allocations: 5.53 MB / 0.8136 GB, free: 1.977 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001283/0.6218, allocations: 287 kB / 0.8139 GB, free: 1.637 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003156/0.6249, allocations: 2.374 MB / 0.8162 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0003714/0.6253, allocations: 69.7 kB / 0.8163 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001116/0.6265, allocations: 1.401 MB / 0.8177 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008488/0.6273, allocations: 0.8009 MB / 0.8184 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009567/0.6283, allocations: 0.5626 MB / 0.819 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.825e-05/0.6284, allocations: 301.1 kB / 0.8193 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00378/0.6322, allocations: 1.656 MB / 0.8209 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004115/0.6363, allocations: 2.046 MB / 0.8229 GB, free: 8.23 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007684/0.644, allocations: 3.661 MB / 0.8265 GB, free: 4.445 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.644, allocations: 4 kB / 0.8265 GB, free: 4.441 MB / 0.6387 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.009796/0.6538, allocations: 4.23 MB / 0.8306 GB, free: 160 kB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.6539, allocations: 8 kB / 0.8306 GB, free: 152 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.6539, allocations: 10.81 kB / 0.8306 GB, free: 144 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006084/0.6545, allocations: 97.27 kB / 0.8307 GB, free: 44 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003857/0.6584, allocations: 0.776 MB / 0.8315 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002047/0.6604, allocations: 1.707 MB / 0.8331 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003637/0.6641, allocations: 485.7 kB / 0.8336 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000268/0.6643, allocations: 139.8 kB / 0.8337 GB, free: 12.8 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.00163/0.666, allocations: 0.9869 MB / 0.8347 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005303/0.6665, allocations: 264.7 kB / 0.835 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01024/0.6768, allocations: 4.475 MB / 0.8393 GB, free: 7.004 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.07e-05/0.6769, allocations: 24 kB / 0.8393 GB, free: 6.98 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.6769, allocations: 0 / 0.8393 GB, free: 6.98 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.329e-05/0.6769, allocations: 11.95 kB / 0.8394 GB, free: 6.969 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01414/0.691, allocations: 8.607 MB / 0.8478 GB, free: 14.11 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/0.6911, allocations: 4 kB / 0.8478 GB, free: 14.11 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003135/0.6942, allocations: 0.6358 MB / 0.8484 GB, free: 13.47 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004545/0.6947, allocations: 80.8 kB / 0.8485 GB, free: 13.39 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001946/0.6949, allocations: 67.94 kB / 0.8485 GB, free: 13.32 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001826/0.6967, allocations: 1.725 MB / 0.8502 GB, free: 11.46 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.6967, allocations: 0 / 0.8502 GB, free: 11.46 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007859/0.7046, allocations: 3.742 MB / 0.8539 GB, free: 7.625 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001203/0.7058, allocations: 0.8209 MB / 0.8547 GB, free: 6.781 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000425/0.7062, allocations: 67.62 kB / 0.8547 GB, free: 6.715 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002707/0.709, allocations: 297.6 kB / 0.855 GB, free: 6.426 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003338/0.7093, allocations: 169.9 kB / 0.8552 GB, free: 6.258 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002041/0.7095, allocations: 91.94 kB / 0.8553 GB, free: 6.168 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002283/0.7118, allocations: 1.774 MB / 0.857 GB, free: 4.387 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7118, allocations: 0 / 0.857 GB, free: 4.387 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002135/0.714, allocations: 0.9579 MB / 0.8579 GB, free: 3.426 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.2235/0.9375, allocations: 4.886 MB / 0.8627 GB, free: 216.5 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01406/0.9516, allocations: 6.355 MB / 0.8689 GB, free: 216 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.9516, allocations: 5.031 kB / 0.8689 GB, free: 216 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003287/0.9549, allocations: 1.909 MB / 0.8708 GB, free: 215.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002265/0.9572, allocations: 0.5006 MB / 0.8713 GB, free: 215.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05543/1.013, allocations: 31.36 MB / 0.9019 GB, free: 198.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001529/1.014, allocations: 2.419 MB / 0.9043 GB, free: 197.3 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003487/1.018, allocations: 0.981 MB / 0.9052 GB, free: 197.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001952/1.02, allocations: 1.437 MB / 0.9066 GB, free: 196 MB / 0.67 GB Notification: Performance of SimCode: time 6.22e-07/1.02, allocations: 1.656 kB / 0.9066 GB, free: 196 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2669/1.287, allocations: 67.61 MB / 0.9726 GB, free: 150.4 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002073/1.287, allocations: 314 kB / 0.9729 GB, free: 150 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.76/5.046, allocations: 0 / 0.9729 GB, free: 150 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)