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.006465/0.006465, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001437/0.001437, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8039/0.8039, allocations: 135.1 MB / 425.7 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 63.72 kB / 0.5851 GB, free: 21.9 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1958/0.197, allocations: 80.93 MB / 0.6642 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection): time 0.01135/0.2084, allocations: 8.667 MB / 0.6726 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.6373/0.8458, allocations: 156.3 MB / 0.8252 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002615/0.8484, allocations: 58.84 kB / 0.8253 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001547/0.85, allocations: 344.6 kB / 0.8256 GB, free: 1.977 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004609/0.8547, allocations: 1.086 MB / 0.8267 GB, free: 1.125 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004462/0.8591, allocations: 1.405 MB / 0.8281 GB, free: 16 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007593/0.8668, allocations: 5.345 MB / 0.8333 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005078/0.8719, allocations: 3.015 MB / 0.8362 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004102/0.876, allocations: 2.11 MB / 0.8383 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003444/0.8794, allocations: 2.03 MB / 0.8403 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001496/0.8809, allocations: 0.4933 MB / 0.8407 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00335/0.8843, allocations: 1.096 MB / 0.8418 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001712/0.886, allocations: 1.087 MB / 0.8429 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.004211/0.8903, allocations: 2.117 MB / 0.8449 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.009421/0.8997, allocations: 6.054 MB / 0.8509 GB, free: 320 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.8997, allocations: 0 / 0.8509 GB, free: 320 kB / 0.6075 GB Notification: Performance of FrontEnd: time 2.074e-06/0.8997, allocations: 4 kB / 0.8509 GB, free: 316 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002631/0.9, allocations: 7.938 kB / 0.8509 GB, free: 308 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.01488/0.9149, allocations: 4.394 MB / 0.8552 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.915, allocations: 13.11 kB / 0.8552 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00145/0.9164, allocations: 459.4 kB / 0.8556 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01022/0.9267, allocations: 1.337 MB / 0.8569 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006521/0.9333, allocations: 2.422 MB / 0.8593 GB, free: 7.512 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002599/0.9335, allocations: 250.6 kB / 0.8595 GB, free: 7.266 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00122/0.9348, allocations: 316 kB / 0.8598 GB, free: 6.957 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01381/0.9486, allocations: 4.758 MB / 0.8645 GB, free: 2.086 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001109/0.9488, allocations: 11.88 kB / 0.8645 GB, free: 2.074 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009984/0.9498, allocations: 132 kB / 0.8646 GB, free: 1.945 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-05/0.9499, allocations: 80 kB / 0.8647 GB, free: 1.867 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0147/0.9646, allocations: 5.133 MB / 0.8697 GB, free: 12.72 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.03681/1.001, allocations: 16.55 MB / 0.8859 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01176/1.013, allocations: 4.285 MB / 0.89 GB, free: 7.035 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004369/1.018, allocations: 1.818 MB / 0.8918 GB, free: 5.215 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001736/1.019, allocations: 1.632 MB / 0.8934 GB, free: 3.23 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005385/1.025, allocations: 2.145 MB / 0.8955 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=239): time 6.582e-06/1.025, allocations: 0 / 0.8955 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of matching and sorting (n=239): time 0.01605/1.041, allocations: 5.534 MB / 0.9009 GB, free: 11.5 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001663/1.041, allocations: 283 kB / 0.9012 GB, free: 11.17 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005277/1.046, allocations: 2.333 MB / 0.9035 GB, free: 8.809 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0004105/1.047, allocations: 69.7 kB / 0.9035 GB, free: 8.734 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001561/1.048, allocations: 1.393 MB / 0.9049 GB, free: 7.324 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001035/1.049, allocations: 0.797 MB / 0.9057 GB, free: 6.516 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001566/1.051, allocations: 0.5627 MB / 0.9062 GB, free: 5.945 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001148/1.051, allocations: 301.1 kB / 0.9065 GB, free: 5.648 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004336/1.056, allocations: 1.652 MB / 0.9081 GB, free: 3.992 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004747/1.06, allocations: 2.054 MB / 0.9101 GB, free: 1.809 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008977/1.069, allocations: 3.654 MB / 0.9137 GB, free: 14.03 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-05/1.069, allocations: 4 kB / 0.9137 GB, free: 14.03 MB / 0.6856 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01196/1.081, allocations: 4.23 MB / 0.9178 GB, free: 9.742 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.515e-05/1.081, allocations: 8 kB / 0.9178 GB, free: 9.734 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.389e-05/1.081, allocations: 8 kB / 0.9178 GB, free: 9.727 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000657/1.082, allocations: 97.12 kB / 0.9179 GB, free: 9.629 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003987/1.086, allocations: 0.7721 MB / 0.9187 GB, free: 8.855 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002556/1.089, allocations: 1.704 MB / 0.9203 GB, free: 7.004 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004413/1.093, allocations: 489.1 kB / 0.9208 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004798/1.094, allocations: 135.8 kB / 0.9209 GB, free: 6.391 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.002608/1.096, allocations: 0.9686 MB / 0.9219 GB, free: 5.41 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001221/1.097, allocations: 268.7 kB / 0.9221 GB, free: 5.145 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01194/1.109, allocations: 4.46 MB / 0.9265 GB, free: 0.6211 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.482e-05/1.109, allocations: 24 kB / 0.9265 GB, free: 0.5977 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.988e-06/1.109, allocations: 3.938 kB / 0.9265 GB, free: 0.5938 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.508e-05/1.11, allocations: 11.95 kB / 0.9265 GB, free: 0.582 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01897/1.128, allocations: 8.545 MB / 0.9349 GB, free: 7.82 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/1.129, allocations: 3.938 kB / 0.9349 GB, free: 7.816 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003318/1.132, allocations: 0.628 MB / 0.9355 GB, free: 7.188 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005252/1.132, allocations: 80.8 kB / 0.9356 GB, free: 7.105 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003104/1.133, allocations: 71.94 kB / 0.9356 GB, free: 7.035 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002122/1.135, allocations: 1.717 MB / 0.9373 GB, free: 5.176 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/1.135, allocations: 4 kB / 0.9373 GB, free: 5.172 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00946/1.144, allocations: 3.741 MB / 0.941 GB, free: 1.344 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002591/1.147, allocations: 0.817 MB / 0.9418 GB, free: 0.5039 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001065/1.148, allocations: 67.69 kB / 0.9418 GB, free: 448 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003189/1.151, allocations: 287.6 kB / 0.9421 GB, free: 160 kB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004354/1.152, allocations: 177.8 kB / 0.9423 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002652/1.152, allocations: 91.89 kB / 0.9424 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003794/1.156, allocations: 1.741 MB / 0.9441 GB, free: 14.14 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.01e-07/1.156, allocations: 0 / 0.9441 GB, free: 14.14 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003587/1.159, allocations: 0.9579 MB / 0.945 GB, free: 13.18 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.0113/1.171, allocations: 4.887 MB / 0.9498 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.009591/1.18, allocations: 3.805 MB / 0.9535 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/1.18, allocations: 0 / 0.9535 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00467/1.185, allocations: 1.912 MB / 0.9554 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003741/1.189, allocations: 0.5045 MB / 0.9559 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06335/1.252, allocations: 26.57 MB / 0.9818 GB, free: 7.062 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003442/1.256, allocations: 2.403 MB / 0.9842 GB, free: 4.625 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.004953/1.261, allocations: 0.9756 MB / 0.9851 GB, free: 3.645 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00334/1.264, allocations: 1.425 MB / 0.9865 GB, free: 2.219 MB / 0.7481 GB Notification: Performance of SimCode: time 1.934e-06/1.264, allocations: 4 kB / 0.9865 GB, free: 2.215 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1303/1.394, allocations: 69.46 MB / 1.054 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.5/18.9, allocations: 13.97 kB / 1.054 GB, free: 13.14 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Buildings_Components_BaseClasses_ConvectiveHeatTransfer_Examples_Convection_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Buildings_Components_BaseClasses_ConvectiveHeatTransfer_Examples_Convection.fmu > IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection.pipe 2>&1)