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.001891/0.001891, 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.002545/0.002545, allocations: 195.1 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.362/2.362, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.451/1.451, allocations: 135.1 MB / 425.5 MB, free: 11.81 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 64.86 kB / 0.5055 GB, free: 5.191 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2803, allocations: 80.93 MB / 0.5845 GB, free: 4.422 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection): time 0.01562/0.2959, allocations: 8.653 MB / 0.5929 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.7995/1.095, allocations: 156.3 MB / 0.7456 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005218/1.101, allocations: 58.47 kB / 0.7456 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002175/1.103, allocations: 344.8 kB / 0.7459 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007791/1.111, allocations: 1.092 MB / 0.747 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005939/1.117, allocations: 1.389 MB / 0.7484 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01015/1.127, allocations: 5.315 MB / 0.7535 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007252/1.134, allocations: 3.001 MB / 0.7565 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005127/1.139, allocations: 2.041 MB / 0.7585 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00419/1.144, allocations: 2.015 MB / 0.7604 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.00184/1.145, allocations: 0.4922 MB / 0.7609 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004012/1.15, allocations: 1.074 MB / 0.762 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002346/1.152, allocations: 1.09 MB / 0.763 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.005537/1.157, allocations: 2.115 MB / 0.7651 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01088/1.168, allocations: 5.903 MB / 0.7709 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/1.168, allocations: 0 / 0.7709 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.146e-06/1.168, allocations: 0 / 0.7709 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0003087/1.169, allocations: 3.938 kB / 0.7709 GB, free: 13.79 MB / 0.5919 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.01609/1.185, allocations: 4.395 MB / 0.7752 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.889e-05/1.185, allocations: 8.031 kB / 0.7752 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001991/1.187, allocations: 463.4 kB / 0.7756 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01155/1.198, allocations: 1.337 MB / 0.7769 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006359/1.205, allocations: 2.36 MB / 0.7792 GB, free: 5.066 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002993/1.205, allocations: 254.5 kB / 0.7795 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00134/1.207, allocations: 320 kB / 0.7798 GB, free: 4.504 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01514/1.222, allocations: 4.754 MB / 0.7844 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-05/1.222, allocations: 3.938 kB / 0.7844 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009287/1.223, allocations: 143.9 kB / 0.7846 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-05/1.223, allocations: 80 kB / 0.7846 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01474/1.238, allocations: 5.13 MB / 0.7896 GB, free: 10.27 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.0417/1.279, allocations: 16.7 MB / 0.8059 GB, free: 8.777 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01508/1.295, allocations: 4.287 MB / 0.8101 GB, free: 4.477 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005428/1.3, allocations: 1.814 MB / 0.8119 GB, free: 2.66 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002204/1.302, allocations: 1.636 MB / 0.8135 GB, free: 0.6719 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006451/1.309, allocations: 2.149 MB / 0.8156 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=239): time 8.206e-06/1.309, allocations: 0 / 0.8156 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=239): time 0.02198/1.331, allocations: 5.526 MB / 0.821 GB, free: 8.949 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001788/1.331, allocations: 283 kB / 0.8213 GB, free: 8.613 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00536/1.336, allocations: 2.337 MB / 0.8235 GB, free: 6.25 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0008144/1.337, allocations: 65.7 kB / 0.8236 GB, free: 6.18 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001683/1.339, allocations: 1.389 MB / 0.825 GB, free: 4.773 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001602/1.341, allocations: 0.7971 MB / 0.8257 GB, free: 3.965 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002413/1.343, allocations: 0.5626 MB / 0.8263 GB, free: 3.395 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001295/1.343, allocations: 305.1 kB / 0.8266 GB, free: 3.094 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005331/1.348, allocations: 1.652 MB / 0.8282 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00557/1.354, allocations: 2.058 MB / 0.8302 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01027/1.364, allocations: 3.657 MB / 0.8338 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.101e-05/1.364, allocations: 0 / 0.8338 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01333/1.378, allocations: 4.23 MB / 0.8379 GB, free: 7.184 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.566e-05/1.378, allocations: 8 kB / 0.8379 GB, free: 7.176 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.43e-05/1.378, allocations: 8 kB / 0.8379 GB, free: 7.168 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006746/1.379, allocations: 100.8 kB / 0.838 GB, free: 7.066 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00439/1.383, allocations: 0.7682 MB / 0.8388 GB, free: 6.297 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002634/1.386, allocations: 1.709 MB / 0.8404 GB, free: 4.441 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004691/1.39, allocations: 481.2 kB / 0.8409 GB, free: 3.969 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007332/1.391, allocations: 135.8 kB / 0.841 GB, free: 3.836 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.003201/1.394, allocations: 0.9674 MB / 0.842 GB, free: 2.855 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001329/1.396, allocations: 268.6 kB / 0.8422 GB, free: 2.59 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01378/1.409, allocations: 4.47 MB / 0.8466 GB, free: 14.05 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.85e-05/1.41, allocations: 24 kB / 0.8466 GB, free: 14.03 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/1.41, allocations: 0 / 0.8466 GB, free: 14.03 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.657e-05/1.41, allocations: 19.95 kB / 0.8466 GB, free: 14.01 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02399/1.434, allocations: 8.587 MB / 0.855 GB, free: 5.18 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-05/1.434, allocations: 4 kB / 0.855 GB, free: 5.176 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003796/1.437, allocations: 0.6318 MB / 0.8556 GB, free: 4.543 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005198/1.438, allocations: 84.78 kB / 0.8557 GB, free: 4.457 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000551/1.439, allocations: 67.94 kB / 0.8558 GB, free: 4.391 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002343/1.441, allocations: 1.721 MB / 0.8575 GB, free: 2.527 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/1.441, allocations: 0 / 0.8575 GB, free: 2.527 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4235/1.865, allocations: 3.735 MB / 0.8611 GB, free: 213.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002767/1.867, allocations: 0.8125 MB / 0.8619 GB, free: 213.4 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001442/1.869, allocations: 67.03 kB / 0.862 GB, free: 213.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003757/1.873, allocations: 296.2 kB / 0.8623 GB, free: 213.4 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006306/1.873, allocations: 165.8 kB / 0.8624 GB, free: 213.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004825/1.874, allocations: 90.5 kB / 0.8625 GB, free: 213.4 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003591/1.877, allocations: 1.748 MB / 0.8642 GB, free: 213.2 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.4e-07/1.877, allocations: 0 / 0.8642 GB, free: 213.2 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004745/1.882, allocations: 0.9488 MB / 0.8651 GB, free: 213.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.01236/1.895, allocations: 4.887 MB / 0.8699 GB, free: 211.1 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01701/1.912, allocations: 6.356 MB / 0.8761 GB, free: 209.8 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.878e-06/1.912, allocations: 0 / 0.8761 GB, free: 209.8 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.004874/1.916, allocations: 1.918 MB / 0.878 GB, free: 209.2 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004948/1.921, allocations: 0.506 MB / 0.8785 GB, free: 209 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07676/1.998, allocations: 29.62 MB / 0.9074 GB, free: 193.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004247/2.003, allocations: 2.401 MB / 0.9097 GB, free: 192.6 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.006451/2.009, allocations: 0.9739 MB / 0.9107 GB, free: 192.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004302/2.013, allocations: 1.428 MB / 0.9121 GB, free: 191.3 MB / 0.67 GB Notification: Performance of SimCode: time 1.603e-06/2.013, allocations: 0 / 0.9121 GB, free: 191.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1426/2.156, allocations: 67.43 MB / 0.9779 GB, free: 140.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.26/20.42, allocations: 5 kB / 0.9779 GB, free: 140.8 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection_res.csv --start-time 0 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 400 IDEAS_dev_IDEAS_Buildings_Components_BaseClasses_ConvectiveHeatTransfer_Examples_Convection.fmu > IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection.pipe 2>&1)