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.001177/0.001177, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001153/0.001152, allocations: 193.2 kB / 16.53 MB, free: 6.664 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.209/1.209, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.707/0.707, allocations: 132.2 MB / 422.6 MB, free: 1.805 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 61 kB / 0.5019 GB, free: 8.648 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1172, allocations: 80.2 MB / 0.5802 GB, free: 8.668 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection): time 0.008446/0.1257, allocations: 8.66 MB / 0.5887 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.325/0.4508, allocations: 156.3 MB / 0.7413 GB, free: 10 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001673/0.4525, allocations: 57.53 kB / 0.7413 GB, free: 9.984 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.001284/0.4538, allocations: 346.8 kB / 0.7417 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003334/0.4571, allocations: 1.086 MB / 0.7427 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002883/0.46, allocations: 1.405 MB / 0.7441 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004202/0.4642, allocations: 5.304 MB / 0.7493 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002495/0.4667, allocations: 2.817 MB / 0.752 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002271/0.469, allocations: 2.05 MB / 0.754 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001569/0.4706, allocations: 2.019 MB / 0.756 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.00052/0.4711, allocations: 0.4961 MB / 0.7565 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001473/0.4726, allocations: 1.07 MB / 0.7575 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007076/0.4733, allocations: 1.09 MB / 0.7586 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001529/0.4748, allocations: 2.13 MB / 0.7607 GB, free: 10 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004105/0.479, allocations: 5.946 MB / 0.7665 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.479, allocations: 0 / 0.7665 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.122e-06/0.479, allocations: 0 / 0.7665 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.409e-05/0.479, allocations: 0 / 0.7665 GB, free: 4.043 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.00663/0.4856, allocations: 4.422 MB / 0.7708 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.4857, allocations: 8.031 kB / 0.7708 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00046/0.4862, allocations: 459.4 kB / 0.7712 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008362/0.4945, allocations: 1.341 MB / 0.7726 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002882/0.4974, allocations: 2.407 MB / 0.7749 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001454/0.4976, allocations: 254.5 kB / 0.7752 GB, free: 11 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004019/0.498, allocations: 319.9 kB / 0.7755 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007448/0.5054, allocations: 4.759 MB / 0.7801 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.479e-05/0.5055, allocations: 4 kB / 0.7801 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003052/0.5058, allocations: 139.9 kB / 0.7802 GB, free: 5.676 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.867e-05/0.5059, allocations: 80 kB / 0.7803 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009758/0.5156, allocations: 5.157 MB / 0.7854 GB, free: 440 kB / 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.0201/0.5357, allocations: 16.69 MB / 0.8017 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00939/0.5451, allocations: 4.291 MB / 0.8058 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00346/0.5486, allocations: 1.814 MB / 0.8076 GB, free: 8.801 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00128/0.5499, allocations: 1.635 MB / 0.8092 GB, free: 6.816 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003892/0.5538, allocations: 2.145 MB / 0.8113 GB, free: 4.652 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=239): time 3.607e-06/0.5538, allocations: 3.938 kB / 0.8113 GB, free: 4.648 MB / 0.6231 GB Notification: Performance of matching and sorting (n=239): time 0.01207/0.5659, allocations: 5.53 MB / 0.8167 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.566, allocations: 283 kB / 0.817 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00254/0.5685, allocations: 2.382 MB / 0.8193 GB, free: 12.35 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001691/0.5687, allocations: 65.7 kB / 0.8194 GB, free: 12.28 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008694/0.5696, allocations: 1.401 MB / 0.8207 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005548/0.5702, allocations: 0.8087 MB / 0.8215 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008158/0.571, allocations: 0.5588 MB / 0.8221 GB, free: 9.473 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.031e-05/0.5711, allocations: 305.1 kB / 0.8224 GB, free: 9.172 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003561/0.5746, allocations: 1.652 MB / 0.824 GB, free: 7.516 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00386/0.5785, allocations: 2.054 MB / 0.826 GB, free: 5.332 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007392/0.5859, allocations: 3.655 MB / 0.8296 GB, free: 1.555 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.5859, allocations: 0 / 0.8296 GB, free: 1.555 MB / 0.6387 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.009023/0.5949, allocations: 4.241 MB / 0.8337 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.595, allocations: 8 kB / 0.8337 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.595, allocations: 4 kB / 0.8337 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005428/0.5955, allocations: 101 kB / 0.8338 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003439/0.599, allocations: 0.7643 MB / 0.8346 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001833/0.6008, allocations: 1.705 MB / 0.8362 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003086/0.6039, allocations: 487.6 kB / 0.8367 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002489/0.6042, allocations: 139.8 kB / 0.8368 GB, free: 9.914 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.001287/0.6055, allocations: 0.979 MB / 0.8378 GB, free: 8.926 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004696/0.606, allocations: 268.6 kB / 0.838 GB, free: 8.66 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009565/0.6155, allocations: 4.463 MB / 0.8424 GB, free: 4.133 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.287e-05/0.6156, allocations: 35.92 kB / 0.8424 GB, free: 4.098 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.6156, allocations: 4 kB / 0.8424 GB, free: 4.094 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.231e-05/0.6156, allocations: 12.05 kB / 0.8424 GB, free: 4.082 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01331/0.6289, allocations: 8.599 MB / 0.8508 GB, free: 11.23 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.6289, allocations: 0 / 0.8508 GB, free: 11.23 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002891/0.6318, allocations: 0.6358 MB / 0.8515 GB, free: 10.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00042/0.6323, allocations: 88.77 kB / 0.8515 GB, free: 10.51 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001794/0.6325, allocations: 67.94 kB / 0.8516 GB, free: 10.44 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00163/0.6341, allocations: 1.717 MB / 0.8533 GB, free: 8.582 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.6341, allocations: 1.406 kB / 0.8533 GB, free: 8.582 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007447/0.6416, allocations: 3.738 MB / 0.8569 GB, free: 4.754 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/0.6427, allocations: 0.8248 MB / 0.8577 GB, free: 3.906 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004073/0.6431, allocations: 71.56 kB / 0.8578 GB, free: 3.836 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002522/0.6456, allocations: 291.6 kB / 0.8581 GB, free: 3.551 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000321/0.646, allocations: 161.9 kB / 0.8582 GB, free: 3.391 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001903/0.6462, allocations: 91.94 kB / 0.8583 GB, free: 3.301 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002128/0.6483, allocations: 1.781 MB / 0.8601 GB, free: 1.512 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6483, allocations: 0 / 0.8601 GB, free: 1.512 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001894/0.6502, allocations: 0.9502 MB / 0.861 GB, free: 0.5586 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.2088/0.859, allocations: 4.884 MB / 0.8658 GB, free: 217.1 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01283/0.8719, allocations: 6.36 MB / 0.872 GB, free: 215.8 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.8719, allocations: 3.844 kB / 0.872 GB, free: 215.8 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003138/0.8751, allocations: 1.913 MB / 0.8738 GB, free: 215.2 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00201/0.8771, allocations: 0.4958 MB / 0.8743 GB, free: 215 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04024/0.9173, allocations: 29.92 MB / 0.9035 GB, free: 199.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001494/0.9189, allocations: 2.419 MB / 0.9059 GB, free: 198.6 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003319/0.9222, allocations: 0.9781 MB / 0.9069 GB, free: 198.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002596/0.9248, allocations: 1.442 MB / 0.9083 GB, free: 197.3 MB / 0.67 GB Notification: Performance of SimCode: time 8.41e-07/0.9248, allocations: 0 / 0.9083 GB, free: 197.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3833/1.308, allocations: 67.9 MB / 0.9746 GB, free: 148.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.46/13.77, allocations: 4.719 kB / 0.9746 GB, free: 148.9 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)