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.001074/0.001074, 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.001106/0.001106, allocations: 195.5 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 1.277/1.277, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.746/0.746, allocations: 132.2 MB / 422.6 MB, free: 1.793 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 68.77 kB / 0.5019 GB, free: 8.633 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.14, allocations: 80.19 MB / 0.5802 GB, free: 8.656 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection): time 0.01019/0.1502, allocations: 8.675 MB / 0.5887 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4052/0.5554, allocations: 156.3 MB / 0.7413 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002158/0.5576, allocations: 54.34 kB / 0.7413 GB, free: 9.832 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.001215/0.5589, allocations: 356 kB / 0.7417 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003805/0.5627, allocations: 1.088 MB / 0.7427 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003546/0.5663, allocations: 1.401 MB / 0.7441 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005285/0.5715, allocations: 5.311 MB / 0.7493 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003027/0.5746, allocations: 2.812 MB / 0.752 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00304/0.5776, allocations: 2.042 MB / 0.754 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001876/0.5795, allocations: 2.016 MB / 0.756 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005786/0.5801, allocations: 0.4922 MB / 0.7565 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001803/0.5819, allocations: 1.081 MB / 0.7575 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007715/0.5827, allocations: 1.086 MB / 0.7586 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001793/0.5845, allocations: 2.13 MB / 0.7607 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005263/0.5898, allocations: 5.942 MB / 0.7665 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.5898, allocations: 3.984 kB / 0.7665 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.512e-06/0.5898, allocations: 4 kB / 0.7665 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.463e-05/0.5899, allocations: 0 / 0.7665 GB, free: 3.902 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.008462/0.5984, allocations: 4.417 MB / 0.7708 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.5985, allocations: 12.03 kB / 0.7708 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005738/0.599, allocations: 463.4 kB / 0.7712 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009342/0.6084, allocations: 1.345 MB / 0.7726 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004341/0.6128, allocations: 2.403 MB / 0.7749 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001649/0.613, allocations: 250.5 kB / 0.7751 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005133/0.6135, allocations: 320 kB / 0.7755 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009981/0.6235, allocations: 4.763 MB / 0.7801 GB, free: 5.676 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.48e-05/0.6236, allocations: 0 / 0.7801 GB, free: 5.676 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003643/0.6239, allocations: 135.9 kB / 0.7802 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.672e-05/0.624, allocations: 80 kB / 0.7803 GB, free: 5.465 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0117/0.6357, allocations: 5.157 MB / 0.7853 GB, free: 304 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.02655/0.6623, allocations: 16.7 MB / 0.8017 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01023/0.6726, allocations: 4.29 MB / 0.8058 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003816/0.6764, allocations: 1.814 MB / 0.8076 GB, free: 8.668 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00138/0.6778, allocations: 1.635 MB / 0.8092 GB, free: 6.68 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004424/0.6822, allocations: 2.149 MB / 0.8113 GB, free: 4.512 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=239): time 4.088e-06/0.6823, allocations: 0 / 0.8113 GB, free: 4.512 MB / 0.6231 GB Notification: Performance of matching and sorting (n=239): time 0.01324/0.6955, allocations: 5.53 MB / 0.8167 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/0.6957, allocations: 291 kB / 0.817 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002997/0.6987, allocations: 2.378 MB / 0.8193 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002506/0.6989, allocations: 69.7 kB / 0.8194 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001008/0.6999, allocations: 1.405 MB / 0.8207 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006289/0.7006, allocations: 0.7932 MB / 0.8215 GB, free: 9.906 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000849/0.7014, allocations: 0.5626 MB / 0.8221 GB, free: 9.336 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.095e-05/0.7015, allocations: 301.1 kB / 0.8224 GB, free: 9.039 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003713/0.7052, allocations: 1.652 MB / 0.824 GB, free: 7.383 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004004/0.7092, allocations: 2.05 MB / 0.826 GB, free: 5.203 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008177/0.7174, allocations: 3.663 MB / 0.8296 GB, free: 1.418 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-05/0.7175, allocations: 4 kB / 0.8296 GB, free: 1.414 MB / 0.6387 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01101/0.7285, allocations: 4.23 MB / 0.8337 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.7286, allocations: 8 kB / 0.8337 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/0.7286, allocations: 9.719 kB / 0.8337 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006116/0.7292, allocations: 97.28 kB / 0.8338 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00418/0.7334, allocations: 0.7682 MB / 0.8345 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002108/0.7355, allocations: 1.708 MB / 0.8362 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003881/0.7394, allocations: 489.7 kB / 0.8367 GB, free: 9.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003937/0.7398, allocations: 139.8 kB / 0.8368 GB, free: 9.773 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.001915/0.7417, allocations: 0.9829 MB / 0.8378 GB, free: 8.781 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008298/0.7426, allocations: 264.7 kB / 0.838 GB, free: 8.52 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01082/0.7534, allocations: 4.467 MB / 0.8424 GB, free: 3.988 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.263e-05/0.7535, allocations: 24 kB / 0.8424 GB, free: 3.965 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.7535, allocations: 3.938 kB / 0.8424 GB, free: 3.961 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.951e-05/0.7535, allocations: 15.94 kB / 0.8424 GB, free: 3.945 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01711/0.7706, allocations: 8.607 MB / 0.8508 GB, free: 11.09 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.777e-05/0.7707, allocations: 4 kB / 0.8508 GB, free: 11.08 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003192/0.7739, allocations: 0.6319 MB / 0.8515 GB, free: 10.45 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004867/0.7744, allocations: 84.77 kB / 0.8515 GB, free: 10.36 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002507/0.7747, allocations: 75.94 kB / 0.8516 GB, free: 10.29 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001936/0.7766, allocations: 1.72 MB / 0.8533 GB, free: 8.426 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.7766, allocations: 0 / 0.8533 GB, free: 8.426 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008988/0.7856, allocations: 3.73 MB / 0.8569 GB, free: 4.605 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001603/0.7872, allocations: 0.817 MB / 0.8577 GB, free: 3.766 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00064/0.7879, allocations: 75.61 kB / 0.8578 GB, free: 3.691 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003061/0.791, allocations: 295.6 kB / 0.8581 GB, free: 3.402 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000363/0.7913, allocations: 161.9 kB / 0.8582 GB, free: 3.242 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002209/0.7916, allocations: 87.94 kB / 0.8583 GB, free: 3.156 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002915/0.7945, allocations: 1.781 MB / 0.8601 GB, free: 1.367 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.8e-07/0.7945, allocations: 0 / 0.8601 GB, free: 1.367 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003099/0.7976, allocations: 0.9579 MB / 0.861 GB, free: 416 kB / 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.254/1.052, allocations: 4.89 MB / 0.8658 GB, free: 217.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01486/1.067, allocations: 6.358 MB / 0.872 GB, free: 216.3 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.325e-06/1.067, allocations: 4.75 kB / 0.872 GB, free: 216.3 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003834/1.07, allocations: 1.904 MB / 0.8738 GB, free: 215.7 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002341/1.073, allocations: 0.4919 MB / 0.8743 GB, free: 215.5 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05259/1.125, allocations: 29.93 MB / 0.9036 GB, free: 200.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001803/1.127, allocations: 2.417 MB / 0.9059 GB, free: 199.1 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.004229/1.131, allocations: 0.9763 MB / 0.9069 GB, free: 198.9 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002693/1.134, allocations: 1.44 MB / 0.9083 GB, free: 197.8 MB / 0.67 GB Notification: Performance of SimCode: time 7.12e-07/1.134, allocations: 5.469 kB / 0.9083 GB, free: 197.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1003/1.235, allocations: 67.89 MB / 0.9746 GB, free: 149.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/13.49, allocations: 3.969 kB / 0.9746 GB, free: 149.3 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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Buildings_Components_BaseClasses_ConvectiveHeatTransfer_Examples_Convection.fmu > IDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection.pipe 2>&1)