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.001369/0.001369, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.437/1.437, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9861/0.9861, allocations: 135.1 MB / 425.5 MB, free: 11.82 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 58.62 kB / 0.5055 GB, free: 5.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.202, allocations: 80.93 MB / 0.5845 GB, free: 4.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection): time 0.01264/0.2147, allocations: 8.653 MB / 0.5929 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6031/0.8179, allocations: 156.3 MB / 0.7455 GB, free: 5 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002586/0.8205, allocations: 60.03 kB / 0.7456 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001552/0.8221, allocations: 340.8 kB / 0.7459 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005077/0.8273, allocations: 1.096 MB / 0.747 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005186/0.8325, allocations: 1.391 MB / 0.7484 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.009709/0.8422, allocations: 5.315 MB / 0.7536 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006665/0.8489, allocations: 3.005 MB / 0.7565 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004956/0.8539, allocations: 2.042 MB / 0.7585 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003762/0.8577, allocations: 2.015 MB / 0.7604 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001727/0.8594, allocations: 0.4922 MB / 0.7609 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003414/0.8629, allocations: 1.074 MB / 0.762 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001851/0.8647, allocations: 1.09 MB / 0.763 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.004123/0.8689, allocations: 2.115 MB / 0.7651 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00831/0.8772, allocations: 5.907 MB / 0.7709 GB, free: 14 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.8772, allocations: 3.984 kB / 0.7709 GB, free: 14 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.883e-06/0.8772, allocations: 0 / 0.7709 GB, free: 14 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.000234/0.8775, allocations: 0 / 0.7709 GB, free: 14 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.01337/0.8909, allocations: 4.391 MB / 0.7752 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.748e-05/0.891, allocations: 12.03 kB / 0.7752 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009156/0.8919, allocations: 463.4 kB / 0.7756 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009607/0.9015, allocations: 1.337 MB / 0.7769 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005462/0.907, allocations: 2.36 MB / 0.7792 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002494/0.9073, allocations: 246.6 kB / 0.7795 GB, free: 5.031 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001233/0.9085, allocations: 327.9 kB / 0.7798 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01338/0.9219, allocations: 4.75 MB / 0.7844 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001076/0.922, allocations: 11.94 kB / 0.7844 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009721/0.923, allocations: 135.9 kB / 0.7846 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.368e-05/0.9231, allocations: 80 kB / 0.7846 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01386/0.937, allocations: 5.126 MB / 0.7896 GB, free: 10.48 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.03788/0.9749, allocations: 16.69 MB / 0.8059 GB, free: 8.996 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01281/0.9877, allocations: 4.287 MB / 0.8101 GB, free: 4.691 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005007/0.9928, allocations: 1.818 MB / 0.8119 GB, free: 2.871 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001912/0.9947, allocations: 1.636 MB / 0.8135 GB, free: 0.8828 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006157/1.001, allocations: 2.145 MB / 0.8156 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=239): time 7.865e-06/1.001, allocations: 0 / 0.8156 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of matching and sorting (n=239): time 0.01757/1.019, allocations: 5.53 MB / 0.821 GB, free: 9.16 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001634/1.019, allocations: 287 kB / 0.8213 GB, free: 8.82 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005269/1.024, allocations: 2.333 MB / 0.8235 GB, free: 6.461 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0008195/1.025, allocations: 61.7 kB / 0.8236 GB, free: 6.395 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002053/1.027, allocations: 1.393 MB / 0.825 GB, free: 4.984 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.00195/1.029, allocations: 0.7971 MB / 0.8257 GB, free: 4.176 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002863/1.032, allocations: 0.5626 MB / 0.8263 GB, free: 3.605 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001232/1.032, allocations: 305.1 kB / 0.8266 GB, free: 3.305 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004972/1.037, allocations: 1.652 MB / 0.8282 GB, free: 1.648 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00527/1.042, allocations: 2.05 MB / 0.8302 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01018/1.052, allocations: 3.657 MB / 0.8338 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.481e-05/1.053, allocations: 4 kB / 0.8338 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01419/1.067, allocations: 4.231 MB / 0.8379 GB, free: 7.398 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.978e-05/1.067, allocations: 8 kB / 0.8379 GB, free: 7.391 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.397e-05/1.067, allocations: 4 kB / 0.8379 GB, free: 7.387 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000667/1.067, allocations: 100.8 kB / 0.838 GB, free: 7.285 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004595/1.072, allocations: 0.7682 MB / 0.8388 GB, free: 6.516 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00261/1.075, allocations: 1.714 MB / 0.8404 GB, free: 4.656 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004971/1.08, allocations: 489.1 kB / 0.8409 GB, free: 4.176 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008732/1.081, allocations: 135.8 kB / 0.841 GB, free: 4.043 MB / 0.6544 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.003442/1.084, allocations: 0.9634 MB / 0.842 GB, free: 3.066 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001448/1.086, allocations: 268.7 kB / 0.8422 GB, free: 2.801 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01378/1.099, allocations: 4.46 MB / 0.8466 GB, free: 14.28 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.13e-05/1.099, allocations: 31.94 kB / 0.8466 GB, free: 14.25 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/1.099, allocations: 0 / 0.8466 GB, free: 14.25 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.6e-05/1.099, allocations: 15.94 kB / 0.8466 GB, free: 14.23 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02246/1.122, allocations: 8.587 MB / 0.855 GB, free: 5.395 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.176e-05/1.122, allocations: 4.094 kB / 0.855 GB, free: 5.391 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003553/1.126, allocations: 0.6279 MB / 0.8556 GB, free: 4.762 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006932/1.126, allocations: 88.72 kB / 0.8557 GB, free: 4.672 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004593/1.127, allocations: 71.94 kB / 0.8558 GB, free: 4.602 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002745/1.13, allocations: 1.717 MB / 0.8575 GB, free: 2.742 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-06/1.13, allocations: 4 kB / 0.8575 GB, free: 2.738 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3002/1.43, allocations: 3.73 MB / 0.8611 GB, free: 214 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002147/1.432, allocations: 0.8118 MB / 0.8619 GB, free: 213.9 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000613/1.433, allocations: 67.5 kB / 0.862 GB, free: 213.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002878/1.436, allocations: 295.8 kB / 0.8622 GB, free: 213.9 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003477/1.436, allocations: 164.4 kB / 0.8624 GB, free: 213.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001863/1.436, allocations: 96.08 kB / 0.8625 GB, free: 213.9 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002312/1.438, allocations: 1.743 MB / 0.8642 GB, free: 213.4 MB / 0.67 GB Notification: Performance of sort global known variables: time 2e-07/1.438, allocations: 0 / 0.8642 GB, free: 213.4 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00246/1.441, allocations: 0.9548 MB / 0.8651 GB, free: 213.3 MB / 0.67 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.009357/1.45, allocations: 4.893 MB / 0.8699 GB, free: 211.3 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01487/1.465, allocations: 6.355 MB / 0.8761 GB, free: 210.1 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/1.465, allocations: 3.062 kB / 0.8761 GB, free: 210.1 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.004004/1.469, allocations: 1.914 MB / 0.878 GB, free: 209.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002675/1.472, allocations: 0.5097 MB / 0.8785 GB, free: 209.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05533/1.527, allocations: 29.61 MB / 0.9074 GB, free: 193.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002077/1.529, allocations: 2.402 MB / 0.9097 GB, free: 192.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.004103/1.533, allocations: 0.9694 MB / 0.9107 GB, free: 192.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002305/1.536, allocations: 1.429 MB / 0.9121 GB, free: 191.6 MB / 0.67 GB Notification: Performance of SimCode: time 8.21e-07/1.536, allocations: 0 / 0.9121 GB, free: 191.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09867/1.635, allocations: 67.41 MB / 0.9779 GB, free: 141.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.48/17.12, allocations: 21.91 kB / 0.9779 GB, free: 141.2 MB / 0.67 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)