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.005279/0.005279, allocations: 103 kB / 15.73 MB, free: 6.051 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.001273/0.001273, allocations: 197.6 kB / 16.68 MB, free: 5.98 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.233/1.233, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.705/0.705, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 67.45 kB / 0.5809 GB, free: 1.117 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1276, allocations: 80.2 MB / 0.6592 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection): time 0.009252/0.1369, allocations: 8.662 MB / 0.6677 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.452/0.589, allocations: 156.3 MB / 0.8203 GB, free: 2.949 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001654/0.5907, allocations: 58.25 kB / 0.8203 GB, free: 2.949 MB / 0.6387 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.001015/0.5917, allocations: 350.2 kB / 0.8207 GB, free: 2.949 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004053/0.5958, allocations: 1.104 MB / 0.8217 GB, free: 2.922 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004046/0.5998, allocations: 1.414 MB / 0.8231 GB, free: 2.891 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005968/0.6058, allocations: 5.357 MB / 0.8283 GB, free: 2.871 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003658/0.6095, allocations: 2.8 MB / 0.8311 GB, free: 2.449 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004337/0.6139, allocations: 2.135 MB / 0.8332 GB, free: 2.438 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003319/0.6172, allocations: 2.029 MB / 0.8351 GB, free: 2.277 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001235/0.6185, allocations: 0.493 MB / 0.8356 GB, free: 2.277 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002936/0.6214, allocations: 1.101 MB / 0.8367 GB, free: 2.262 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001235/0.6227, allocations: 1.088 MB / 0.8378 GB, free: 2.113 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002866/0.6256, allocations: 2.132 MB / 0.8398 GB, free: 1.516 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006662/0.6322, allocations: 6.083 MB / 0.8458 GB, free: 0.6953 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.6323, allocations: 3.219 kB / 0.8458 GB, free: 0.6953 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6323, allocations: 0 / 0.8458 GB, free: 0.6953 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001694/0.6325, allocations: 0 / 0.8458 GB, free: 0.6953 MB / 0.6387 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.01045/0.6429, allocations: 4.427 MB / 0.8501 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.643, allocations: 11.62 kB / 0.8501 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007778/0.6438, allocations: 457 kB / 0.8506 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008658/0.6524, allocations: 1.342 MB / 0.8519 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004532/0.657, allocations: 2.467 MB / 0.8543 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001847/0.6572, allocations: 253.6 kB / 0.8545 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009329/0.6582, allocations: 315.9 kB / 0.8548 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009473/0.6676, allocations: 4.765 MB / 0.8595 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.24e-05/0.6677, allocations: 0 / 0.8595 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004319/0.6682, allocations: 135.6 kB / 0.8596 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.154e-05/0.6682, allocations: 86.75 kB / 0.8597 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01087/0.6791, allocations: 5.157 MB / 0.8647 GB, free: 12.3 MB / 0.6544 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.02755/0.7067, allocations: 16.57 MB / 0.8809 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009974/0.7167, allocations: 4.292 MB / 0.8851 GB, free: 14.67 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003908/0.7206, allocations: 1.816 MB / 0.8869 GB, free: 13.71 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001416/0.7221, allocations: 1.632 MB / 0.8885 GB, free: 11.85 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004939/0.727, allocations: 2.15 MB / 0.8906 GB, free: 10.55 MB / 0.67 GB Notification: Performance of pre-optimization done (n=239): time 6.172e-06/0.7271, allocations: 0 / 0.8906 GB, free: 10.55 MB / 0.67 GB Notification: Performance of matching and sorting (n=239): time 0.01363/0.7407, allocations: 5.538 MB / 0.896 GB, free: 5.074 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/0.7409, allocations: 283 kB / 0.8962 GB, free: 4.738 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00345/0.7443, allocations: 2.378 MB / 0.8986 GB, free: 2.336 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0005788/0.7449, allocations: 65.7 kB / 0.8986 GB, free: 2.266 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001134/0.7461, allocations: 1.406 MB / 0.9 GB, free: 0.8477 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000931/0.747, allocations: 0.7999 MB / 0.9008 GB, free: 56 kB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001064/0.7481, allocations: 0.5625 MB / 0.9013 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 7.857e-05/0.7482, allocations: 305.1 kB / 0.9016 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003799/0.752, allocations: 1.66 MB / 0.9032 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004109/0.7561, allocations: 2.049 MB / 0.9052 GB, free: 11.35 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007812/0.7639, allocations: 3.653 MB / 0.9088 GB, free: 7.598 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/0.764, allocations: 4 kB / 0.9088 GB, free: 7.594 MB / 0.6856 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01049/0.7745, allocations: 4.235 MB / 0.9129 GB, free: 3.348 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.7745, allocations: 14.19 kB / 0.913 GB, free: 3.336 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/0.7745, allocations: 4 kB / 0.913 GB, free: 3.332 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000577/0.7751, allocations: 104.8 kB / 0.9131 GB, free: 3.227 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003948/0.7791, allocations: 0.7603 MB / 0.9138 GB, free: 2.496 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002181/0.7813, allocations: 1.709 MB / 0.9155 GB, free: 0.6523 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003992/0.7853, allocations: 485.7 kB / 0.9159 GB, free: 180 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005988/0.7859, allocations: 143.8 kB / 0.9161 GB, free: 36 kB / 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.002272/0.7882, allocations: 0.9789 MB / 0.917 GB, free: 15.08 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009706/0.7892, allocations: 272.6 kB / 0.9173 GB, free: 14.81 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01096/0.8002, allocations: 4.456 MB / 0.9216 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.589e-05/0.8002, allocations: 31.98 kB / 0.9217 GB, free: 10.26 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.8002, allocations: 0 / 0.9217 GB, free: 10.26 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.732e-05/0.8003, allocations: 11.95 kB / 0.9217 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01746/0.8177, allocations: 8.558 MB / 0.93 GB, free: 1.559 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.8178, allocations: 0 / 0.93 GB, free: 1.559 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00325/0.821, allocations: 0.6294 MB / 0.9307 GB, free: 0.9531 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004735/0.8216, allocations: 92.81 kB / 0.9307 GB, free: 0.8594 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003741/0.8219, allocations: 75.88 kB / 0.9308 GB, free: 0.7852 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001807/0.8238, allocations: 1.717 MB / 0.9325 GB, free: 14.94 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.8238, allocations: 4.062 kB / 0.9325 GB, free: 14.94 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008675/0.8325, allocations: 3.744 MB / 0.9362 GB, free: 11.11 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001751/0.8342, allocations: 0.817 MB / 0.937 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007672/0.835, allocations: 71.62 kB / 0.937 GB, free: 10.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0031/0.8381, allocations: 291.6 kB / 0.9373 GB, free: 9.918 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004419/0.8386, allocations: 161.9 kB / 0.9375 GB, free: 9.758 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003065/0.8389, allocations: 91.94 kB / 0.9375 GB, free: 9.668 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002902/0.8418, allocations: 1.778 MB / 0.9393 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8418, allocations: 0 / 0.9393 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002998/0.8448, allocations: 0.9618 MB / 0.9402 GB, free: 6.918 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.01066/0.8555, allocations: 4.887 MB / 0.945 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.008607/0.8641, allocations: 3.799 MB / 0.9487 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/0.8642, allocations: 4.188 kB / 0.9487 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.004028/0.8682, allocations: 1.911 MB / 0.9506 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002879/0.8711, allocations: 0.4964 MB / 0.9511 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05323/0.9244, allocations: 26.78 MB / 0.9772 GB, free: 0.8984 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00222/0.9266, allocations: 2.42 MB / 0.9796 GB, free: 14.45 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.003872/0.9305, allocations: 0.976 MB / 0.9805 GB, free: 13.47 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002779/0.9333, allocations: 1.44 MB / 0.9819 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of SimCode: time 6.31e-07/0.9333, allocations: 0 / 0.9819 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1053/1.039, allocations: 68.77 MB / 1.049 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.34/16.37, allocations: 5.953 kB / 1.049 GB, free: 7.93 MB / 0.8262 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)