Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Buildings_Components_BaseClasses_ConvectiveHeatTransfer_Examples_Convection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection,fileNamePrefix="IDEAS_dev_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.001574/0.001575, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001742/0.001742, allocations: 195.6 kB / 16.25 MB, free: 6.621 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.377/1.377, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9904/0.9904, allocations: 135.1 MB / 425.2 MB, free: 11.89 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.001656/0.001656, allocations: 68.52 kB / 0.505 GB, free: 5.543 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1702, allocations: 80.93 MB / 0.584 GB, free: 4.785 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection): time 0.01101/0.1813, allocations: 8.601 MB / 0.5924 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4107/0.592, allocations: 154 MB / 0.7428 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002096/0.5941, allocations: 54.31 kB / 0.7428 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00129/0.5954, allocations: 259.2 kB / 0.7431 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004058/0.5995, allocations: 0.9574 MB / 0.744 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00361/0.6032, allocations: 1.267 MB / 0.7452 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006089/0.6093, allocations: 5.362 MB / 0.7505 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004362/0.6136, allocations: 3.005 MB / 0.7534 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004085/0.6177, allocations: 2.054 MB / 0.7554 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002965/0.6207, allocations: 2.027 MB / 0.7574 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001243/0.622, allocations: 0.4922 MB / 0.7579 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002765/0.6248, allocations: 1.085 MB / 0.7589 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001407/0.6262, allocations: 1.083 MB / 0.76 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002584/0.6288, allocations: 2.122 MB / 0.7621 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005691/0.6345, allocations: 5.903 MB / 0.7678 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.6345, allocations: 4 kB / 0.7678 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6345, allocations: 0 / 0.7678 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.671e-05/0.6346, allocations: 0 / 0.7678 GB, free: 0.8711 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.008322/0.6429, allocations: 4.391 MB / 0.7721 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.643, allocations: 12.03 kB / 0.7721 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005304/0.6435, allocations: 463.4 kB / 0.7726 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00912/0.6527, allocations: 1.337 MB / 0.7739 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003919/0.6566, allocations: 2.356 MB / 0.7762 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001849/0.6568, allocations: 250.6 kB / 0.7764 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005114/0.6573, allocations: 323.9 kB / 0.7767 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009158/0.6665, allocations: 4.761 MB / 0.7814 GB, free: 2.719 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.287e-05/0.6666, allocations: 3.938 kB / 0.7814 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003341/0.6669, allocations: 139.9 kB / 0.7815 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-05/0.667, allocations: 80 kB / 0.7816 GB, free: 2.5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01069/0.6776, allocations: 5.13 MB / 0.7866 GB, free: 13.36 MB / 0.6075 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.02747/0.7051, allocations: 16.69 MB / 0.8029 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01047/0.7156, allocations: 4.279 MB / 0.8071 GB, free: 7.57 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003921/0.7196, allocations: 1.818 MB / 0.8089 GB, free: 5.75 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001551/0.7212, allocations: 1.636 MB / 0.8105 GB, free: 3.762 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004655/0.7258, allocations: 2.145 MB / 0.8125 GB, free: 1.598 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=239): time 4.429e-06/0.7259, allocations: 0 / 0.8125 GB, free: 1.598 MB / 0.6231 GB Notification: Performance of matching and sorting (n=239): time 0.01379/0.7397, allocations: 5.534 MB / 0.8179 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/0.7398, allocations: 283 kB / 0.8182 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003765/0.7436, allocations: 2.333 MB / 0.8205 GB, free: 9.34 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002674/0.7439, allocations: 69.7 kB / 0.8206 GB, free: 9.266 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001211/0.7451, allocations: 1.385 MB / 0.8219 GB, free: 7.863 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007758/0.7459, allocations: 0.7971 MB / 0.8227 GB, free: 7.055 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001077/0.747, allocations: 0.5626 MB / 0.8232 GB, free: 6.484 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.43e-05/0.7471, allocations: 305.1 kB / 0.8235 GB, free: 6.184 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003827/0.7509, allocations: 1.656 MB / 0.8252 GB, free: 4.523 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004156/0.7551, allocations: 2.05 MB / 0.8272 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007906/0.763, allocations: 3.66 MB / 0.8307 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.348e-06/0.763, allocations: 8 kB / 0.8307 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01004/0.7731, allocations: 4.222 MB / 0.8349 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/0.7731, allocations: 16.08 kB / 0.8349 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/0.7731, allocations: 8 kB / 0.8349 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006133/0.7738, allocations: 92.78 kB / 0.835 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003783/0.7776, allocations: 0.7682 MB / 0.8357 GB, free: 9.387 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05488/0.8324, allocations: 1.708 MB / 0.8374 GB, free: 7.531 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005437/0.8379, allocations: 485.2 kB / 0.8379 GB, free: 7.055 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005022/0.8385, allocations: 135.8 kB / 0.838 GB, free: 6.922 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.002033/0.8405, allocations: 0.9712 MB / 0.8389 GB, free: 5.938 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008007/0.8413, allocations: 264.6 kB / 0.8392 GB, free: 5.676 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01025/0.8516, allocations: 4.466 MB / 0.8435 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.236e-05/0.8516, allocations: 28 kB / 0.8436 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.8516, allocations: 0 / 0.8436 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.563e-05/0.8517, allocations: 15.95 kB / 0.8436 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01482/0.8665, allocations: 8.587 MB / 0.852 GB, free: 8.27 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/0.8665, allocations: 0 / 0.852 GB, free: 8.27 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003021/0.8695, allocations: 0.628 MB / 0.8526 GB, free: 7.641 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004529/0.87, allocations: 84.78 kB / 0.8527 GB, free: 7.555 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002256/0.8703, allocations: 71.95 kB / 0.8527 GB, free: 7.484 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001855/0.8721, allocations: 1.72 MB / 0.8544 GB, free: 5.621 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.8721, allocations: 3.938 kB / 0.8544 GB, free: 5.617 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008026/0.8802, allocations: 3.734 MB / 0.8581 GB, free: 1.793 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001634/0.8818, allocations: 0.8132 MB / 0.8589 GB, free: 0.957 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004614/0.8823, allocations: 75.62 kB / 0.8589 GB, free: 0.8828 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002778/0.8851, allocations: 296.2 kB / 0.8592 GB, free: 0.5938 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003729/0.8855, allocations: 162 kB / 0.8594 GB, free: 444 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000219/0.8857, allocations: 95.92 kB / 0.8595 GB, free: 348 kB / 0.67 GB Notification: Performance of sorting global known variables: time 0.2762/1.162, allocations: 1.744 MB / 0.8612 GB, free: 214.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.81e-07/1.162, allocations: 0 / 0.8612 GB, free: 214.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003216/1.165, allocations: 0.9507 MB / 0.8621 GB, free: 214.1 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.009051/1.174, allocations: 4.887 MB / 0.8669 GB, free: 212.7 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01531/1.19, allocations: 6.359 MB / 0.8731 GB, free: 211.5 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.407e-06/1.19, allocations: 0 / 0.8731 GB, free: 211.5 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003745/1.193, allocations: 1.913 MB / 0.8749 GB, free: 210.8 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002731/1.196, allocations: 0.4971 MB / 0.8754 GB, free: 210.6 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06853/1.265, allocations: 31.07 MB / 0.9058 GB, free: 193.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002165/1.267, allocations: 2.403 MB / 0.9081 GB, free: 192.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00429/1.271, allocations: 0.9714 MB / 0.9091 GB, free: 192.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002472/1.274, allocations: 1.43 MB / 0.9105 GB, free: 191.5 MB / 0.67 GB Notification: Performance of SimCode: time 1.072e-06/1.274, allocations: 0 / 0.9105 GB, free: 191.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6074/1.881, allocations: 67.14 MB / 0.976 GB, free: 142.8 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002184/1.881, allocations: 308.4 kB / 0.9763 GB, free: 142.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.459/6.34, allocations: 2.344 kB / 0.9763 GB, free: 142.4 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection.pipe ; mkfifo IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection.pipe >> ../files/IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Buildings_Components_BaseClasses_ConvectiveHeatTransfer_Examples_Convection_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Buildings_Components_BaseClasses_ConvectiveHeatTransfer_Examples_Convection.fmu > IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection.pipe 2>&1)