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.004992/0.004992, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001088/0.001088, allocations: 198.7 kB / 16.67 MB, free: 5.934 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.257/1.257, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7105/0.7105, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 63.91 kB / 0.5809 GB, free: 8.035 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3466, allocations: 80.21 MB / 0.6592 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection): time 0.008339/0.355, allocations: 8.664 MB / 0.6677 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1564/0.5114, allocations: 156.3 MB / 0.8203 GB, free: 0.625 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001722/0.5131, allocations: 59.69 kB / 0.8203 GB, free: 0.5664 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.000948/0.5141, allocations: 348.5 kB / 0.8207 GB, free: 228 kB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003132/0.5172, allocations: 1.105 MB / 0.8218 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00304/0.5203, allocations: 1.404 MB / 0.8231 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005301/0.5256, allocations: 5.353 MB / 0.8284 GB, free: 8.352 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003275/0.5289, allocations: 2.806 MB / 0.8311 GB, free: 5.473 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003348/0.5323, allocations: 2.124 MB / 0.8332 GB, free: 3.352 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002442/0.5347, allocations: 2.034 MB / 0.8352 GB, free: 1.309 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0008448/0.5356, allocations: 0.4961 MB / 0.8356 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002027/0.5376, allocations: 1.093 MB / 0.8367 GB, free: 15.72 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0009993/0.5386, allocations: 1.09 MB / 0.8378 GB, free: 14.62 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002482/0.5411, allocations: 2.13 MB / 0.8399 GB, free: 12.48 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006683/0.5478, allocations: 6.1 MB / 0.8458 GB, free: 6.367 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.5479, allocations: 4 kB / 0.8458 GB, free: 6.363 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.744e-06/0.5479, allocations: 0 / 0.8458 GB, free: 6.363 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001174/0.548, allocations: 0 / 0.8458 GB, free: 6.363 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.009502/0.5575, allocations: 4.557 MB / 0.8503 GB, free: 1.723 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.5576, allocations: 12.03 kB / 0.8503 GB, free: 1.711 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006923/0.5583, allocations: 455.4 kB / 0.8507 GB, free: 1.254 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009444/0.5677, allocations: 1.359 MB / 0.852 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004864/0.5726, allocations: 2.483 MB / 0.8545 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000202/0.5729, allocations: 246.6 kB / 0.8547 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007739/0.5736, allocations: 320 kB / 0.855 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01046/0.5841, allocations: 4.776 MB / 0.8597 GB, free: 7.891 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.996e-05/0.5842, allocations: 0 / 0.8597 GB, free: 7.891 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004428/0.5847, allocations: 136 kB / 0.8598 GB, free: 7.758 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.045e-05/0.5847, allocations: 84 kB / 0.8599 GB, free: 7.676 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01221/0.597, allocations: 5.153 MB / 0.8649 GB, free: 2.512 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.2857/0.8827, allocations: 16.6 MB / 0.8811 GB, free: 181.5 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01037/0.8931, allocations: 4.295 MB / 0.8853 GB, free: 179.4 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00396/0.8971, allocations: 1.825 MB / 0.8871 GB, free: 178.4 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00114/0.8983, allocations: 1.633 MB / 0.8887 GB, free: 176.6 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004539/0.9028, allocations: 2.149 MB / 0.8908 GB, free: 175.3 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=239): time 5.03e-06/0.9028, allocations: 0 / 0.8908 GB, free: 175.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=239): time 0.01364/0.9165, allocations: 5.546 MB / 0.8962 GB, free: 172.3 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.481e-05/0.9166, allocations: 287.3 kB / 0.8965 GB, free: 172 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003243/0.9199, allocations: 2.376 MB / 0.8988 GB, free: 170.7 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0005427/0.9204, allocations: 68.7 kB / 0.8989 GB, free: 170.7 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009543/0.9214, allocations: 1.434 MB / 0.9003 GB, free: 169.6 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008237/0.9222, allocations: 0.842 MB / 0.9011 GB, free: 169 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000931/0.9232, allocations: 0.5653 MB / 0.9016 GB, free: 168.6 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 3.247e-05/0.9232, allocations: 302.8 kB / 0.9019 GB, free: 168.3 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003785/0.927, allocations: 1.654 MB / 0.9035 GB, free: 167.5 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004217/0.9312, allocations: 2.05 MB / 0.9055 GB, free: 166.1 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007746/0.939, allocations: 3.652 MB / 0.9091 GB, free: 164 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.059e-05/0.939, allocations: 2.344 kB / 0.9091 GB, free: 164 MB / 0.6856 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.009505/0.9485, allocations: 4.253 MB / 0.9133 GB, free: 161.8 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.9486, allocations: 7.75 kB / 0.9133 GB, free: 161.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.9486, allocations: 6.938 kB / 0.9133 GB, free: 161.8 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005857/0.9492, allocations: 95.94 kB / 0.9134 GB, free: 161.7 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003773/0.953, allocations: 0.7713 MB / 0.9141 GB, free: 161.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001714/0.9547, allocations: 1.705 MB / 0.9158 GB, free: 159.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003757/0.9585, allocations: 0.4888 MB / 0.9163 GB, free: 159.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003899/0.9589, allocations: 135.9 kB / 0.9164 GB, free: 159.5 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.001821/0.9607, allocations: 0.9779 MB / 0.9174 GB, free: 158.9 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006656/0.9614, allocations: 281.2 kB / 0.9176 GB, free: 158.7 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009605/0.971, allocations: 4.471 MB / 0.922 GB, free: 154.5 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.631e-05/0.9711, allocations: 24 kB / 0.922 GB, free: 154.5 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.9711, allocations: 0 / 0.922 GB, free: 154.5 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-05/0.9711, allocations: 15.94 kB / 0.922 GB, free: 154.5 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01455/0.9857, allocations: 8.565 MB / 0.9304 GB, free: 145.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/0.9857, allocations: 0 / 0.9304 GB, free: 145.8 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003027/0.9888, allocations: 0.6358 MB / 0.931 GB, free: 145.2 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004292/0.9892, allocations: 80.78 kB / 0.9311 GB, free: 145.1 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002694/0.9895, allocations: 75.88 kB / 0.9312 GB, free: 145 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001462/0.991, allocations: 1.723 MB / 0.9328 GB, free: 143.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.991, allocations: 0 / 0.9328 GB, free: 143.1 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007671/0.9987, allocations: 3.759 MB / 0.9365 GB, free: 139.3 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001613/1, allocations: 0.8295 MB / 0.9373 GB, free: 138.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005718/1.001, allocations: 66.38 kB / 0.9374 GB, free: 138.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002779/1.004, allocations: 291.5 kB / 0.9377 GB, free: 138.1 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003239/1.004, allocations: 165.9 kB / 0.9378 GB, free: 138 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002126/1.004, allocations: 95.94 kB / 0.9379 GB, free: 137.9 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002129/1.006, allocations: 1.773 MB / 0.9397 GB, free: 136.1 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.2e-07/1.006, allocations: 0 / 0.9397 GB, free: 136.1 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002511/1.009, allocations: 0.9689 MB / 0.9406 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.009012/1.018, allocations: 4.911 MB / 0.9454 GB, free: 130.4 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.007997/1.026, allocations: 3.806 MB / 0.9491 GB, free: 126.5 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/1.026, allocations: 4 kB / 0.9491 GB, free: 126.5 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003716/1.03, allocations: 1.912 MB / 0.951 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.002807/1.033, allocations: 0.4995 MB / 0.9515 GB, free: 124.1 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04382/1.076, allocations: 26.9 MB / 0.9777 GB, free: 96.78 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001417/1.078, allocations: 2.412 MB / 0.9801 GB, free: 94.34 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.00306/1.081, allocations: 0.9723 MB / 0.981 GB, free: 93.36 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002209/1.083, allocations: 1.444 MB / 0.9824 GB, free: 91.91 MB / 0.6856 GB Notification: Performance of SimCode: time 1.573e-06/1.083, allocations: 0 / 0.9824 GB, free: 91.91 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08783/1.171, allocations: 68.77 MB / 1.05 GB, free: 23.65 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.42/16.59, allocations: 5.953 kB / 1.05 GB, free: 23.65 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection_res.csv --start-time 0 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 400 IDEAS_IDEAS_Buildings_Components_BaseClasses_ConvectiveHeatTransfer_Examples_Convection.fmu > IDEAS_IDEAS.Buildings.Components.BaseClasses.ConvectiveHeatTransfer.Examples.Convection.pipe 2>&1)