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.005844/0.005844, allocations: 97.12 kB / 15.73 MB, free: 6.043 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.001586/0.001586, allocations: 198.2 kB / 16.67 MB, free: 5.973 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7781/0.7781, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 67.89 kB / 0.5809 GB, free: 8.051 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3534, allocations: 80.21 MB / 0.6592 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection): time 0.008165/0.3616, allocations: 8.663 MB / 0.6677 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1743/0.536, allocations: 156.3 MB / 0.8203 GB, free: 0.6484 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001901/0.5379, allocations: 55.75 kB / 0.8203 GB, free: 0.5938 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.001268/0.5392, allocations: 348.5 kB / 0.8207 GB, free: 256 kB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003784/0.543, allocations: 1.08 MB / 0.8217 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00349/0.5465, allocations: 1.414 MB / 0.8231 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006713/0.5532, allocations: 5.349 MB / 0.8283 GB, free: 8.398 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004535/0.5578, allocations: 2.806 MB / 0.8311 GB, free: 5.52 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003926/0.5618, allocations: 2.046 MB / 0.8331 GB, free: 3.48 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003186/0.565, allocations: 2.03 MB / 0.8351 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001255/0.5663, allocations: 0.4961 MB / 0.8355 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002587/0.5689, allocations: 1.101 MB / 0.8366 GB, free: 15.84 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001404/0.5703, allocations: 1.09 MB / 0.8377 GB, free: 14.75 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.003144/0.5734, allocations: 2.13 MB / 0.8398 GB, free: 12.61 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00833/0.5818, allocations: 6.11 MB / 0.8457 GB, free: 6.484 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.5818, allocations: 0 / 0.8457 GB, free: 6.484 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5818, allocations: 0 / 0.8457 GB, free: 6.484 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.000189/0.582, allocations: 0 / 0.8457 GB, free: 6.484 MB / 0.67 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.01138/0.5934, allocations: 4.553 MB / 0.8502 GB, free: 1.848 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.5935, allocations: 12.03 kB / 0.8502 GB, free: 1.836 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001096/0.5946, allocations: 459.4 kB / 0.8506 GB, free: 1.375 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009701/0.6043, allocations: 1.359 MB / 0.852 GB, free: 12 kB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005024/0.6094, allocations: 2.479 MB / 0.8544 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002591/0.6097, allocations: 254.5 kB / 0.8546 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009328/0.6106, allocations: 316 kB / 0.8549 GB, free: 12.9 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01189/0.6225, allocations: 4.762 MB / 0.8596 GB, free: 8.023 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.538e-05/0.6226, allocations: 3.984 kB / 0.8596 GB, free: 8.02 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006249/0.6233, allocations: 136 kB / 0.8597 GB, free: 7.887 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.531e-05/0.6233, allocations: 84 kB / 0.8598 GB, free: 7.805 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0131/0.6364, allocations: 5.153 MB / 0.8648 GB, free: 2.641 MB / 0.6856 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.2963/0.9327, allocations: 16.6 MB / 0.881 GB, free: 181.5 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01062/0.9434, allocations: 4.295 MB / 0.8852 GB, free: 179.3 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004114/0.9475, allocations: 1.817 MB / 0.887 GB, free: 178.3 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001153/0.9487, allocations: 1.628 MB / 0.8886 GB, free: 176.5 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004719/0.9535, allocations: 2.153 MB / 0.8907 GB, free: 175.2 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=239): time 4.94e-06/0.9535, allocations: 0 / 0.8907 GB, free: 175.2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=239): time 0.01385/0.9674, allocations: 5.544 MB / 0.8961 GB, free: 172.3 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.686e-05/0.9675, allocations: 287.1 kB / 0.8964 GB, free: 171.9 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003291/0.9708, allocations: 2.374 MB / 0.8987 GB, free: 170.7 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0005618/0.9714, allocations: 72.72 kB / 0.8988 GB, free: 170.6 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009235/0.9723, allocations: 1.426 MB / 0.9002 GB, free: 169.5 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008217/0.9731, allocations: 0.8478 MB / 0.901 GB, free: 168.9 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009193/0.9741, allocations: 0.5661 MB / 0.9015 GB, free: 168.6 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 3.324e-05/0.9741, allocations: 306.4 kB / 0.9018 GB, free: 168.3 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003776/0.9779, allocations: 1.653 MB / 0.9034 GB, free: 167.4 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004109/0.982, allocations: 2.049 MB / 0.9054 GB, free: 166.1 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008249/0.9903, allocations: 3.657 MB / 0.909 GB, free: 164 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.039e-05/0.9903, allocations: 1.531 kB / 0.909 GB, free: 164 MB / 0.6856 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.01025/1.001, allocations: 4.246 MB / 0.9132 GB, free: 161.7 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/1.001, allocations: 8.719 kB / 0.9132 GB, free: 161.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/1.001, allocations: 6.469 kB / 0.9132 GB, free: 161.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005955/1.001, allocations: 106.7 kB / 0.9133 GB, free: 161.7 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003787/1.005, allocations: 0.773 MB / 0.914 GB, free: 161.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001683/1.007, allocations: 1.702 MB / 0.9157 GB, free: 159.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003876/1.011, allocations: 498.8 kB / 0.9162 GB, free: 159.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004615/1.011, allocations: 138.5 kB / 0.9163 GB, free: 159.4 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.001902/1.013, allocations: 0.9778 MB / 0.9173 GB, free: 158.8 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008089/1.014, allocations: 280.1 kB / 0.9175 GB, free: 158.7 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009651/1.024, allocations: 4.474 MB / 0.9219 GB, free: 154.5 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.678e-05/1.024, allocations: 24 kB / 0.9219 GB, free: 154.5 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/1.024, allocations: 0 / 0.9219 GB, free: 154.5 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-05/1.024, allocations: 15.95 kB / 0.9219 GB, free: 154.5 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01437/1.038, allocations: 8.555 MB / 0.9303 GB, free: 145.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-05/1.038, allocations: 4.094 kB / 0.9303 GB, free: 145.8 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002966/1.041, allocations: 0.6396 MB / 0.9309 GB, free: 145.2 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004306/1.042, allocations: 84.78 kB / 0.931 GB, free: 145.1 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002772/1.042, allocations: 71.89 kB / 0.9311 GB, free: 145 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001459/1.043, allocations: 1.719 MB / 0.9327 GB, free: 143.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/1.043, allocations: 0 / 0.9327 GB, free: 143.2 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007778/1.051, allocations: 3.759 MB / 0.9364 GB, free: 139.3 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001674/1.053, allocations: 0.8248 MB / 0.9372 GB, free: 138.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006449/1.053, allocations: 68.06 kB / 0.9373 GB, free: 138.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002807/1.056, allocations: 299.5 kB / 0.9376 GB, free: 138.2 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000382/1.057, allocations: 165.8 kB / 0.9377 GB, free: 138 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00024/1.057, allocations: 97.72 kB / 0.9378 GB, free: 137.9 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002353/1.059, allocations: 1.774 MB / 0.9396 GB, free: 136.1 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.9e-07/1.059, allocations: 0 / 0.9396 GB, free: 136.1 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003116/1.062, allocations: 0.9615 MB / 0.9405 GB, free: 135.2 MB / 0.6856 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.009703/1.072, allocations: 4.922 MB / 0.9453 GB, free: 130.4 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.008064/1.08, allocations: 3.802 MB / 0.949 GB, free: 126.6 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.295e-06/1.08, allocations: 0 / 0.949 GB, free: 126.6 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003935/1.084, allocations: 1.912 MB / 0.9509 GB, free: 124.6 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002798/1.087, allocations: 0.5102 MB / 0.9514 GB, free: 124.2 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04765/1.135, allocations: 26.88 MB / 0.9776 GB, free: 96.82 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00144/1.136, allocations: 2.416 MB / 0.98 GB, free: 94.37 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.003289/1.14, allocations: 0.9723 MB / 0.9809 GB, free: 93.39 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00241/1.142, allocations: 1.44 MB / 0.9823 GB, free: 91.95 MB / 0.6856 GB Notification: Performance of SimCode: time 9.22e-07/1.142, allocations: 4 kB / 0.9823 GB, free: 91.95 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5478/1.69, allocations: 68.76 MB / 1.049 GB, free: 23.7 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.36/19.05, allocations: 9.891 kB / 1.05 GB, free: 23.69 MB / 0.6856 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)