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.001353/0.001353, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00563/0.00563, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.238/1.238, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6742/0.6742, allocations: 132.3 MB / 423.8 MB, free: 1.969 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.0002656/0.0002656, allocations: 8 kB / 0.5041 GB, free: 3.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3262, allocations: 81.57 MB / 0.5838 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection): time 0.007517/0.3338, allocations: 8.129 MB / 0.5917 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1396/0.4735, allocations: 152.3 MB / 0.7404 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00126/0.4747, allocations: 51.75 kB / 0.7405 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006303/0.4754, allocations: 261.8 kB / 0.7407 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002179/0.4776, allocations: 0.9316 MB / 0.7416 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002227/0.4798, allocations: 1.245 MB / 0.7429 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00386/0.4837, allocations: 5.021 MB / 0.7478 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002609/0.4863, allocations: 2.663 MB / 0.7504 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002226/0.4885, allocations: 1.376 MB / 0.7517 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001315/0.4899, allocations: 1.421 MB / 0.7531 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002132/0.4901, allocations: 99.94 kB / 0.7532 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001187/0.4913, allocations: 0.6828 MB / 0.7538 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000458/0.4917, allocations: 0.5827 MB / 0.7544 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001278/0.493, allocations: 1.593 MB / 0.756 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004124/0.4972, allocations: 5.501 MB / 0.7613 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.4972, allocations: 4 kB / 0.7613 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.342e-06/0.4972, allocations: 0 / 0.7613 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.147e-05/0.4973, allocations: 0 / 0.7613 GB, free: 9.895 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.00645/0.5037, allocations: 3.573 MB / 0.7648 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.5038, allocations: 8.031 kB / 0.7648 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005902/0.5044, allocations: 463.4 kB / 0.7653 GB, free: 5.773 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008635/0.513, allocations: 1.411 MB / 0.7667 GB, free: 4.355 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003054/0.5161, allocations: 2.403 MB / 0.769 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001558/0.5162, allocations: 250.6 kB / 0.7693 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004685/0.5167, allocations: 316 kB / 0.7696 GB, free: 1.32 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008216/0.525, allocations: 4.798 MB / 0.7742 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.637e-05/0.525, allocations: 7.938 kB / 0.7742 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003228/0.5253, allocations: 140 kB / 0.7744 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.082e-05/0.5254, allocations: 80 kB / 0.7745 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01003/0.5354, allocations: 5.215 MB / 0.7796 GB, free: 6.957 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.02153/0.557, allocations: 16.74 MB / 0.7959 GB, free: 5.391 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009525/0.5665, allocations: 4.298 MB / 0.8001 GB, free: 1.074 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003551/0.5701, allocations: 1.83 MB / 0.8019 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00128/0.5714, allocations: 1.636 MB / 0.8035 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004029/0.5754, allocations: 2.161 MB / 0.8056 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=239): time 3.507e-06/0.5754, allocations: 0 / 0.8056 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of matching and sorting (n=239): time 0.01236/0.5878, allocations: 5.577 MB / 0.811 GB, free: 5.469 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/0.5879, allocations: 283 kB / 0.8113 GB, free: 5.133 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002709/0.5906, allocations: 2.378 MB / 0.8136 GB, free: 2.73 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001949/0.5908, allocations: 65.7 kB / 0.8137 GB, free: 2.66 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009397/0.5918, allocations: 1.401 MB / 0.8151 GB, free: 1.242 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000588/0.5924, allocations: 0.7971 MB / 0.8158 GB, free: 444 kB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003054/0.5927, allocations: 202.5 kB / 0.816 GB, free: 236 kB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.2143/0.807, allocations: 305 kB / 0.8163 GB, free: 213.9 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004779/0.8118, allocations: 1.663 MB / 0.8179 GB, free: 213.9 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004241/0.8161, allocations: 2.061 MB / 0.82 GB, free: 213.2 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008089/0.8242, allocations: 3.684 MB / 0.8236 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/0.8242, allocations: 1.594 kB / 0.8236 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.00981/0.834, allocations: 4.262 MB / 0.8277 GB, free: 210.3 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/0.8341, allocations: 9.156 kB / 0.8277 GB, free: 210.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.749e-05/0.8341, allocations: 6.906 kB / 0.8277 GB, free: 210.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005869/0.8347, allocations: 99.17 kB / 0.8278 GB, free: 210.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003691/0.8384, allocations: 0.7751 MB / 0.8286 GB, free: 210.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/0.8401, allocations: 1.589 MB / 0.8301 GB, free: 208.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003654/0.8437, allocations: 498.6 kB / 0.8306 GB, free: 208.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002609/0.844, allocations: 135.8 kB / 0.8307 GB, free: 208.7 MB / 0.6387 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.001635/0.8457, allocations: 0.9846 MB / 0.8317 GB, free: 208.2 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004748/0.8461, allocations: 272.1 kB / 0.832 GB, free: 208.2 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01008/0.8562, allocations: 4.489 MB / 0.8363 GB, free: 206.5 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.246e-05/0.8563, allocations: 29.22 kB / 0.8364 GB, free: 206.5 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.8563, allocations: 4.938 kB / 0.8364 GB, free: 206.5 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.413e-05/0.8563, allocations: 13.08 kB / 0.8364 GB, free: 206.5 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01409/0.8704, allocations: 8.628 MB / 0.8448 GB, free: 201.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.415e-06/0.8704, allocations: 3.969 kB / 0.8448 GB, free: 201.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003101/0.8735, allocations: 0.6374 MB / 0.8454 GB, free: 201 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005141/0.8741, allocations: 87.72 kB / 0.8455 GB, free: 201 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002006/0.8743, allocations: 77.91 kB / 0.8456 GB, free: 200.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001491/0.8758, allocations: 1.607 MB / 0.8472 GB, free: 199.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.8758, allocations: 7.562 kB / 0.8472 GB, free: 199.4 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007742/0.8836, allocations: 3.759 MB / 0.8508 GB, free: 196.7 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001513/0.8851, allocations: 0.8907 MB / 0.8517 GB, free: 195.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005406/0.8856, allocations: 51.98 kB / 0.8518 GB, free: 195.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00295/0.8886, allocations: 314.1 kB / 0.8521 GB, free: 195.4 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003163/0.8889, allocations: 161.9 kB / 0.8522 GB, free: 195.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001983/0.8891, allocations: 87.94 kB / 0.8523 GB, free: 195.2 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002416/0.8916, allocations: 1.785 MB / 0.854 GB, free: 193.4 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8916, allocations: 0 / 0.854 GB, free: 193.4 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002383/0.894, allocations: 0.955 MB / 0.855 GB, free: 192.5 MB / 0.6387 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.009082/0.9031, allocations: 4.922 MB / 0.8598 GB, free: 187.7 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.007907/0.911, allocations: 3.814 MB / 0.8635 GB, free: 183.9 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.911, allocations: 0 / 0.8635 GB, free: 183.9 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00362/0.9146, allocations: 1.931 MB / 0.8654 GB, free: 181.9 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002843/0.9175, allocations: 479 kB / 0.8659 GB, free: 181.5 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05973/0.9772, allocations: 31.48 MB / 0.8966 GB, free: 148.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001735/0.979, allocations: 2.416 MB / 0.899 GB, free: 145.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003731/0.9827, allocations: 0.98 MB / 0.8999 GB, free: 144.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002222/0.985, allocations: 1.444 MB / 0.9013 GB, free: 143.3 MB / 0.6387 GB Notification: Performance of SimCode: time 6.41e-07/0.985, allocations: 0 / 0.9013 GB, free: 143.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2303/1.215, allocations: 65.17 MB / 0.965 GB, free: 78.71 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001602/1.216, allocations: 311 kB / 0.9653 GB, free: 78.33 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.46/4.675, allocations: 4 kB / 0.9653 GB, free: 78.32 MB / 0.6387 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Buildings_Components_BaseClasses_ConvectiveHeatTransfer_Examples_Convection_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Buildings_Components_BaseClasses_ConvectiveHeatTransfer_Examples_Convection.fmu > IDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection.pipe 2>&1)