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.009416/0.009416, allocations: 98.92 kB / 15.73 MB, free: 6.004 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.001493/0.001493, allocations: 192.5 kB / 16.67 MB, free: 5.922 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.483/1.483, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9063/0.9063, allocations: 135.1 MB / 425.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 66.78 kB / 0.5852 GB, free: 21.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1928/0.1941, allocations: 80.91 MB / 0.6642 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection): time 0.01273/0.2069, allocations: 8.671 MB / 0.6726 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.7279/0.9349, allocations: 156.3 MB / 0.8252 GB, free: 2.25 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003042/0.938, allocations: 58.94 kB / 0.8253 GB, free: 2.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001233/0.9392, allocations: 354.1 kB / 0.8256 GB, free: 1.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004812/0.9441, allocations: 1.103 MB / 0.8267 GB, free: 1.047 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004588/0.9487, allocations: 1.413 MB / 0.8281 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.008092/0.9568, allocations: 5.358 MB / 0.8333 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00526/0.9621, allocations: 3.004 MB / 0.8363 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005022/0.9672, allocations: 2.118 MB / 0.8383 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004199/0.9714, allocations: 2.02 MB / 0.8403 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002441/0.9739, allocations: 0.4914 MB / 0.8408 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004212/0.9781, allocations: 1.098 MB / 0.8419 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001861/0.98, allocations: 1.089 MB / 0.8429 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.004017/0.984, allocations: 2.114 MB / 0.845 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01031/0.9944, allocations: 6.087 MB / 0.8509 GB, free: 204 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/0.9944, allocations: 0 / 0.8509 GB, free: 204 kB / 0.6075 GB Notification: Performance of FrontEnd: time 2.054e-06/0.9944, allocations: 0 / 0.8509 GB, free: 204 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002787/0.9947, allocations: 0 / 0.8509 GB, free: 204 kB / 0.6075 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.0152/1.01, allocations: 4.51 MB / 0.8553 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 7.395e-05/1.01, allocations: 9.109 kB / 0.8553 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008781/1.011, allocations: 463.4 kB / 0.8558 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01008/1.021, allocations: 1.355 MB / 0.8571 GB, free: 9.773 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006727/1.028, allocations: 2.447 MB / 0.8595 GB, free: 7.25 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000273/1.028, allocations: 246.6 kB / 0.8597 GB, free: 7.008 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001166/1.029, allocations: 316 kB / 0.86 GB, free: 6.699 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01217/1.041, allocations: 4.761 MB / 0.8647 GB, free: 1.824 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-05/1.042, allocations: 3.938 kB / 0.8647 GB, free: 1.82 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003934/1.042, allocations: 132 kB / 0.8648 GB, free: 1.691 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-05/1.042, allocations: 80 kB / 0.8649 GB, free: 1.613 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01347/1.055, allocations: 5.133 MB / 0.8699 GB, free: 12.47 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.03978/1.095, allocations: 16.59 MB / 0.8861 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0127/1.108, allocations: 4.279 MB / 0.8903 GB, free: 6.754 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004737/1.113, allocations: 1.82 MB / 0.8921 GB, free: 4.934 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002081/1.115, allocations: 1.636 MB / 0.8937 GB, free: 2.945 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005964/1.121, allocations: 2.157 MB / 0.8958 GB, free: 0.7695 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=239): time 7.474e-06/1.121, allocations: 0 / 0.8958 GB, free: 0.7695 MB / 0.6544 GB Notification: Performance of matching and sorting (n=239): time 0.01749/1.139, allocations: 5.535 MB / 0.9012 GB, free: 11.21 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002256/1.139, allocations: 291 kB / 0.9014 GB, free: 10.86 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007483/1.146, allocations: 2.333 MB / 0.9037 GB, free: 8.504 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.001012/1.147, allocations: 65.7 kB / 0.9038 GB, free: 8.434 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001657/1.149, allocations: 1.416 MB / 0.9052 GB, free: 7.004 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001706/1.151, allocations: 0.8443 MB / 0.906 GB, free: 6.152 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002237/1.153, allocations: 0.5667 MB / 0.9065 GB, free: 5.578 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001259/1.153, allocations: 305.1 kB / 0.9068 GB, free: 5.277 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004715/1.158, allocations: 1.652 MB / 0.9085 GB, free: 3.621 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005499/1.163, allocations: 2.054 MB / 0.9105 GB, free: 1.438 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01007/1.174, allocations: 3.654 MB / 0.914 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-05/1.174, allocations: 0 / 0.914 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01436/1.188, allocations: 4.235 MB / 0.9182 GB, free: 9.371 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 6.065e-05/1.188, allocations: 8 kB / 0.9182 GB, free: 9.363 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.478e-05/1.188, allocations: 8 kB / 0.9182 GB, free: 9.355 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007071/1.189, allocations: 105.2 kB / 0.9183 GB, free: 9.25 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004503/1.193, allocations: 0.7721 MB / 0.919 GB, free: 8.477 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002519/1.196, allocations: 1.705 MB / 0.9207 GB, free: 6.625 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004778/1.201, allocations: 489.8 kB / 0.9212 GB, free: 6.145 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008696/1.202, allocations: 135.8 kB / 0.9213 GB, free: 6.012 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.003552/1.205, allocations: 0.9725 MB / 0.9222 GB, free: 5.027 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001509/1.207, allocations: 282.2 kB / 0.9225 GB, free: 4.75 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01372/1.22, allocations: 4.455 MB / 0.9269 GB, free: 236 kB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-05/1.221, allocations: 28 kB / 0.9269 GB, free: 208 kB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.595e-05/1.221, allocations: 0 / 0.9269 GB, free: 208 kB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.332e-05/1.221, allocations: 15.94 kB / 0.9269 GB, free: 192 kB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02781/1.248, allocations: 8.549 MB / 0.9353 GB, free: 7.422 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-05/1.249, allocations: 11.94 kB / 0.9353 GB, free: 7.41 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005822/1.254, allocations: 0.628 MB / 0.9359 GB, free: 6.781 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007702/1.255, allocations: 84.78 kB / 0.936 GB, free: 6.695 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005501/1.256, allocations: 67.94 kB / 0.936 GB, free: 6.629 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003236/1.259, allocations: 1.721 MB / 0.9377 GB, free: 4.766 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/1.259, allocations: 0 / 0.9377 GB, free: 4.766 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01498/1.274, allocations: 3.755 MB / 0.9414 GB, free: 0.9258 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002831/1.277, allocations: 0.8302 MB / 0.9422 GB, free: 76 kB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001228/1.278, allocations: 67.78 kB / 0.9422 GB, free: 8 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003627/1.282, allocations: 295.6 kB / 0.9425 GB, free: 15.72 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005212/1.282, allocations: 169.8 kB / 0.9427 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003744/1.283, allocations: 87.94 kB / 0.9428 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.004219/1.287, allocations: 1.741 MB / 0.9445 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.2e-07/1.287, allocations: 0 / 0.9445 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004041/1.291, allocations: 0.9739 MB / 0.9454 GB, free: 12.74 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.01216/1.303, allocations: 4.91 MB / 0.9502 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01091/1.314, allocations: 3.805 MB / 0.9539 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-05/1.314, allocations: 4 kB / 0.9539 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.005188/1.319, allocations: 1.909 MB / 0.9558 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004806/1.324, allocations: 0.4967 MB / 0.9563 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06537/1.39, allocations: 26.7 MB / 0.9824 GB, free: 6.469 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003245/1.393, allocations: 2.399 MB / 0.9847 GB, free: 4.035 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.00489/1.398, allocations: 0.9718 MB / 0.9857 GB, free: 3.059 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003419/1.401, allocations: 1.429 MB / 0.987 GB, free: 1.629 MB / 0.7481 GB Notification: Performance of SimCode: time 1.673e-06/1.401, allocations: 0 / 0.987 GB, free: 1.629 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1347/1.536, allocations: 68.26 MB / 1.054 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.22/19.75, allocations: 18.33 kB / 1.054 GB, free: 13.75 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)