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.009741/0.009741, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001957/0.001957, allocations: 193.8 kB / 16.67 MB, free: 5.93 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.963/1.963, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9034/0.9034, allocations: 135.6 MB / 426.1 MB, free: 3.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 71.86 kB / 0.5858 GB, free: 21.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1969/0.1989, allocations: 81.02 MB / 0.6649 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection): time 0.01225/0.2112, allocations: 8.664 MB / 0.6733 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.7098/0.9209, allocations: 156.3 MB / 0.826 GB, free: 1.43 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002565/0.9236, allocations: 58.41 kB / 0.826 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00147/0.9251, allocations: 346.2 kB / 0.8263 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005327/0.9305, allocations: 1.087 MB / 0.8274 GB, free: 248 kB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00439/0.9349, allocations: 1.408 MB / 0.8288 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.008539/0.9434, allocations: 5.354 MB / 0.834 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005626/0.9491, allocations: 3.005 MB / 0.8369 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00491/0.954, allocations: 2.047 MB / 0.8389 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0043/0.9584, allocations: 2.015 MB / 0.8409 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001694/0.9601, allocations: 0.4932 MB / 0.8414 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003422/0.9635, allocations: 1.097 MB / 0.8425 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001685/0.9652, allocations: 1.091 MB / 0.8435 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003876/0.9691, allocations: 2.109 MB / 0.8456 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01043/0.9796, allocations: 6.089 MB / 0.8515 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 8.897e-06/0.9796, allocations: 4 kB / 0.8515 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.834e-06/0.9796, allocations: 0 / 0.8515 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002228/0.9799, allocations: 0 / 0.8515 GB, free: 15.38 MB / 0.6231 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.01221/0.9921, allocations: 4.51 MB / 0.8559 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/0.9921, allocations: 13.11 kB / 0.8559 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008464/0.993, allocations: 455.4 kB / 0.8564 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01026/1.003, allocations: 1.359 MB / 0.8577 GB, free: 8.949 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005674/1.009, allocations: 2.443 MB / 0.8601 GB, free: 6.43 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002423/1.009, allocations: 254.5 kB / 0.8603 GB, free: 6.18 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008669/1.01, allocations: 316 kB / 0.8606 GB, free: 5.871 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01202/1.022, allocations: 4.761 MB / 0.8653 GB, free: 0.9961 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.416e-05/1.022, allocations: 3.938 kB / 0.8653 GB, free: 0.9922 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003893/1.023, allocations: 136 kB / 0.8654 GB, free: 0.8594 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.639e-05/1.023, allocations: 80 kB / 0.8655 GB, free: 0.7812 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01435/1.037, allocations: 5.13 MB / 0.8705 GB, free: 11.64 MB / 0.6387 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.03807/1.075, allocations: 16.6 MB / 0.8867 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01314/1.088, allocations: 4.276 MB / 0.8909 GB, free: 5.922 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005281/1.094, allocations: 1.812 MB / 0.8927 GB, free: 4.105 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002251/1.096, allocations: 1.636 MB / 0.8943 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005933/1.102, allocations: 2.153 MB / 0.8964 GB, free: 15.95 MB / 0.67 GB Notification: Performance of pre-optimization done (n=239): time 5.71e-06/1.102, allocations: 4 kB / 0.8964 GB, free: 15.94 MB / 0.67 GB Notification: Performance of matching and sorting (n=239): time 0.01626/1.118, allocations: 5.543 MB / 0.9018 GB, free: 10.37 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002222/1.119, allocations: 291 kB / 0.9021 GB, free: 10.03 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004597/1.123, allocations: 2.325 MB / 0.9043 GB, free: 7.676 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0007494/1.124, allocations: 69.7 kB / 0.9044 GB, free: 7.602 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001721/1.126, allocations: 1.42 MB / 0.9058 GB, free: 6.168 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001502/1.127, allocations: 0.8404 MB / 0.9066 GB, free: 5.32 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001251/1.128, allocations: 0.5628 MB / 0.9072 GB, free: 4.75 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001708/1.129, allocations: 305.1 kB / 0.9074 GB, free: 4.449 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00482/1.133, allocations: 1.66 MB / 0.9091 GB, free: 2.785 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005286/1.139, allocations: 2.043 MB / 0.9111 GB, free: 0.6133 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01013/1.149, allocations: 3.657 MB / 0.9146 GB, free: 12.83 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-05/1.149, allocations: 4 kB / 0.9146 GB, free: 12.83 MB / 0.6856 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01324/1.162, allocations: 4.235 MB / 0.9188 GB, free: 8.539 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.711e-05/1.162, allocations: 8 kB / 0.9188 GB, free: 8.531 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-05/1.162, allocations: 4 kB / 0.9188 GB, free: 8.527 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006398/1.163, allocations: 113.2 kB / 0.9189 GB, free: 8.414 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004349/1.167, allocations: 0.7643 MB / 0.9196 GB, free: 7.648 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002545/1.17, allocations: 1.701 MB / 0.9213 GB, free: 5.801 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004613/1.175, allocations: 497.7 kB / 0.9218 GB, free: 5.312 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006796/1.175, allocations: 139.9 kB / 0.9219 GB, free: 5.176 MB / 0.6856 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.002956/1.178, allocations: 0.9674 MB / 0.9228 GB, free: 4.199 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0011/1.179, allocations: 282.2 kB / 0.9231 GB, free: 3.922 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01249/1.192, allocations: 4.455 MB / 0.9275 GB, free: 15.4 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-05/1.192, allocations: 28 kB / 0.9275 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.192, allocations: 0 / 0.9275 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.073e-05/1.192, allocations: 11.95 kB / 0.9275 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02015/1.212, allocations: 8.553 MB / 0.9359 GB, free: 6.594 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/1.212, allocations: 3.938 kB / 0.9359 GB, free: 6.59 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003407/1.216, allocations: 0.6319 MB / 0.9365 GB, free: 5.957 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005097/1.216, allocations: 84.78 kB / 0.9366 GB, free: 5.871 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003228/1.216, allocations: 71.94 kB / 0.9366 GB, free: 5.801 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002327/1.219, allocations: 1.717 MB / 0.9383 GB, free: 3.941 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.219, allocations: 0 / 0.9383 GB, free: 3.941 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01062/1.229, allocations: 3.755 MB / 0.942 GB, free: 104 kB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002191/1.232, allocations: 0.8264 MB / 0.9428 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006898/1.232, allocations: 67.78 kB / 0.9428 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003031/1.235, allocations: 291.6 kB / 0.9431 GB, free: 14.9 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00041/1.236, allocations: 169.8 kB / 0.9433 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000233/1.236, allocations: 91.94 kB / 0.9434 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003256/1.239, allocations: 1.741 MB / 0.9451 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.31e-07/1.239, allocations: 0 / 0.9451 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003711/1.243, allocations: 0.97 MB / 0.946 GB, free: 11.92 MB / 0.7169 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.013/1.256, allocations: 4.918 MB / 0.9508 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01136/1.267, allocations: 3.809 MB / 0.9545 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/1.268, allocations: 0 / 0.9545 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.005395/1.273, allocations: 1.905 MB / 0.9564 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003392/1.276, allocations: 0.5005 MB / 0.9569 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06973/1.346, allocations: 26.7 MB / 0.983 GB, free: 5.641 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002503/1.349, allocations: 2.399 MB / 0.9853 GB, free: 3.207 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.004426/1.353, allocations: 0.9718 MB / 0.9863 GB, free: 2.23 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003455/1.357, allocations: 1.425 MB / 0.9876 GB, free: 0.8047 MB / 0.7481 GB Notification: Performance of SimCode: time 1.062e-06/1.357, allocations: 0 / 0.9876 GB, free: 0.8047 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1494/1.506, allocations: 68.28 MB / 1.054 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.72/20.22, allocations: 7.938 kB / 1.054 GB, free: 12.92 MB / 0.8262 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)