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.001315/0.001315, allocations: 112.5 kB / 15.73 MB, free: 76 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.00142/0.00142, allocations: 191.5 kB / 16.67 MB, free: 6.582 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7975/0.7975, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 67.91 kB / 0.5809 GB, free: 1.113 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1538, allocations: 80.21 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.01157/0.1654, allocations: 8.663 MB / 0.6677 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5533/0.7187, allocations: 156.3 MB / 0.8203 GB, free: 2.988 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0041/0.7229, allocations: 55.38 kB / 0.8203 GB, free: 2.988 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.001899/0.7249, allocations: 350 kB / 0.8206 GB, free: 2.984 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00734/0.7322, allocations: 1.088 MB / 0.8217 GB, free: 2.957 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.007301/0.7396, allocations: 1.405 MB / 0.8231 GB, free: 2.93 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01234/0.7519, allocations: 5.354 MB / 0.8283 GB, free: 2.906 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005248/0.7572, allocations: 2.802 MB / 0.831 GB, free: 2.477 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005092/0.7623, allocations: 2.066 MB / 0.8331 GB, free: 2.469 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004199/0.7666, allocations: 2.028 MB / 0.835 GB, free: 2.309 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001813/0.7684, allocations: 0.4924 MB / 0.8355 GB, free: 2.309 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003761/0.7722, allocations: 1.101 MB / 0.8366 GB, free: 2.293 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001869/0.7741, allocations: 1.092 MB / 0.8377 GB, free: 2.145 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003161/0.7773, allocations: 2.127 MB / 0.8397 GB, free: 1.547 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.007147/0.7844, allocations: 6.108 MB / 0.8457 GB, free: 0.7109 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.7845, allocations: 0 / 0.8457 GB, free: 0.7109 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.894e-06/0.7845, allocations: 1.062 kB / 0.8457 GB, free: 0.7109 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001926/0.7847, allocations: 0 / 0.8457 GB, free: 0.7109 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.01178/0.7965, allocations: 4.55 MB / 0.8502 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.7965, allocations: 14.16 kB / 0.8502 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007477/0.7973, allocations: 457.3 kB / 0.8506 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009484/0.8068, allocations: 1.362 MB / 0.8519 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004732/0.8116, allocations: 2.482 MB / 0.8544 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001623/0.8118, allocations: 249.6 kB / 0.8546 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000898/0.8127, allocations: 320.6 kB / 0.8549 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01096/0.8236, allocations: 4.76 MB / 0.8595 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.83e-05/0.8237, allocations: 2.219 kB / 0.8595 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005086/0.8243, allocations: 140.5 kB / 0.8597 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.685e-05/0.8243, allocations: 83.5 kB / 0.8598 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01315/0.8375, allocations: 5.16 MB / 0.8648 GB, free: 12.14 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.03331/0.8708, allocations: 16.61 MB / 0.881 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01235/0.8832, allocations: 4.289 MB / 0.8852 GB, free: 14.48 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004748/0.888, allocations: 1.82 MB / 0.887 GB, free: 13.52 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001857/0.8899, allocations: 1.631 MB / 0.8886 GB, free: 11.66 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005737/0.8956, allocations: 2.145 MB / 0.8907 GB, free: 10.37 MB / 0.67 GB Notification: Performance of pre-optimization done (n=239): time 5.33e-06/0.8957, allocations: 0 / 0.8907 GB, free: 10.37 MB / 0.67 GB Notification: Performance of matching and sorting (n=239): time 0.01607/0.9118, allocations: 5.552 MB / 0.8961 GB, free: 4.945 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001854/0.912, allocations: 287 kB / 0.8964 GB, free: 4.605 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004139/0.9161, allocations: 2.371 MB / 0.8987 GB, free: 2.211 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0006458/0.9168, allocations: 65.7 kB / 0.8987 GB, free: 2.141 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001542/0.9183, allocations: 1.44 MB / 0.9002 GB, free: 0.6914 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001282/0.9196, allocations: 0.842 MB / 0.901 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001122/0.9208, allocations: 0.5744 MB / 0.9015 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.9209, allocations: 305.1 kB / 0.9018 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004393/0.9253, allocations: 1.652 MB / 0.9034 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005094/0.9304, allocations: 2.049 MB / 0.9054 GB, free: 11.15 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009828/0.9403, allocations: 3.659 MB / 0.909 GB, free: 7.395 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.304e-05/0.9403, allocations: 4 kB / 0.909 GB, free: 7.391 MB / 0.6856 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.0123/0.9526, allocations: 4.24 MB / 0.9132 GB, free: 3.141 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.175e-05/0.9527, allocations: 8 kB / 0.9132 GB, free: 3.133 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/0.9527, allocations: 8 kB / 0.9132 GB, free: 3.125 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006328/0.9533, allocations: 101.2 kB / 0.9133 GB, free: 3.023 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004392/0.9578, allocations: 0.7719 MB / 0.914 GB, free: 2.281 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002492/0.9603, allocations: 1.704 MB / 0.9157 GB, free: 452 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004674/0.965, allocations: 494.8 kB / 0.9162 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006759/0.9657, allocations: 131.9 kB / 0.9163 GB, free: 15.82 MB / 0.7012 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.002602/0.9683, allocations: 0.9828 MB / 0.9172 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009393/0.9692, allocations: 282.2 kB / 0.9175 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01215/0.9814, allocations: 4.463 MB / 0.9219 GB, free: 10.06 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-05/0.9815, allocations: 28 kB / 0.9219 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.9815, allocations: 0 / 0.9219 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.03e-05/0.9815, allocations: 11.95 kB / 0.9219 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01905/1.001, allocations: 8.567 MB / 0.9303 GB, free: 1.324 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/1.001, allocations: 4 kB / 0.9303 GB, free: 1.32 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003568/1.004, allocations: 0.6334 MB / 0.9309 GB, free: 0.7109 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005068/1.005, allocations: 80.83 kB / 0.931 GB, free: 0.6289 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004299/1.005, allocations: 79.88 kB / 0.9311 GB, free: 0.5508 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002228/1.007, allocations: 1.717 MB / 0.9327 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.007, allocations: 4 kB / 0.9327 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009943/1.017, allocations: 3.754 MB / 0.9364 GB, free: 10.87 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002035/1.019, allocations: 0.8302 MB / 0.9372 GB, free: 10.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009506/1.02, allocations: 71.72 kB / 0.9373 GB, free: 9.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003432/1.024, allocations: 291.6 kB / 0.9376 GB, free: 9.66 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004996/1.024, allocations: 170 kB / 0.9377 GB, free: 9.492 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003549/1.025, allocations: 95.92 kB / 0.9378 GB, free: 9.398 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003777/1.029, allocations: 1.777 MB / 0.9395 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.5e-07/1.029, allocations: 0 / 0.9395 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003694/1.032, allocations: 0.9584 MB / 0.9405 GB, free: 6.652 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.01346/1.046, allocations: 4.905 MB / 0.9453 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01079/1.057, allocations: 3.813 MB / 0.949 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.747e-06/1.057, allocations: 0 / 0.949 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005305/1.062, allocations: 1.908 MB / 0.9509 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003943/1.066, allocations: 0.5052 MB / 0.9513 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06758/1.133, allocations: 26.9 MB / 0.9776 GB, free: 496 kB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003573/1.137, allocations: 2.416 MB / 0.98 GB, free: 14.04 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.004791/1.142, allocations: 0.9762 MB / 0.9809 GB, free: 13.06 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003882/1.146, allocations: 1.44 MB / 0.9823 GB, free: 11.62 MB / 0.7637 GB Notification: Performance of SimCode: time 1.042e-06/1.146, allocations: 0 / 0.9823 GB, free: 11.62 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1361/1.282, allocations: 68.76 MB / 1.049 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.29/18.57, allocations: 5.953 kB / 1.049 GB, free: 7.52 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 & 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)