Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical",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.006913/0.006913, allocations: 101.6 kB / 15.73 MB, free: 6.5 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.00214/0.00214, allocations: 200.4 kB / 16.68 MB, free: 6.375 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.477/2.477, allocations: 437.1 MB / 0.7106 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 63.89 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2485, allocations: 151.6 MB / 1.166 GB, free: 7.273 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical): time 0.003091/0.2516, allocations: 2.248 MB / 1.168 GB, free: 5.004 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002779/0.2544, allocations: 2.398 MB / 1.171 GB, free: 2.594 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.853e-05/0.2545, allocations: 3.938 kB / 1.171 GB, free: 2.59 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00116/0.2556, allocations: 494 kB / 1.171 GB, free: 2.105 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001505/0.2558, allocations: 99.34 kB / 1.171 GB, free: 2.008 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002675/0.2561, allocations: 95.86 kB / 1.171 GB, free: 1.914 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0008194/0.2569, allocations: 0.8457 MB / 1.172 GB, free: 1.07 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.257, allocations: 52.16 kB / 1.172 GB, free: 1.016 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002889/0.2573, allocations: 275.5 kB / 1.173 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004292/0.2578, allocations: 331.2 kB / 1.173 GB, free: 432 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.715e-05/0.2579, allocations: 56 kB / 1.173 GB, free: 376 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.258, allocations: 56 kB / 1.173 GB, free: 320 kB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002441/0.2582, allocations: 231.4 kB / 1.173 GB, free: 88 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000302/0.2585, allocations: 283.1 kB / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006453/0.2592, allocations: 0.7358 MB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.2592, allocations: 0 / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2592, allocations: 0 / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.2592, allocations: 0 / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.002138/0.2613, allocations: 0.9367 MB / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.2614, allocations: 8.031 kB / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.637e-05/0.2614, allocations: 50.73 kB / 1.175 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.2615, allocations: 44.66 kB / 1.175 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00143/0.263, allocations: 0.5187 MB / 1.176 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.263, allocations: 28.38 kB / 1.176 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.248e-05/0.2631, allocations: 36.38 kB / 1.176 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003267/0.2634, allocations: 209.4 kB / 1.176 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.2634, allocations: 4 kB / 1.176 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.2635, allocations: 8 kB / 1.176 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.2635, allocations: 4 kB / 1.176 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002755/0.2638, allocations: 167.9 kB / 1.176 GB, free: 12.96 MB / 0.9356 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.004368/0.2681, allocations: 1.436 MB / 1.178 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001659/0.2698, allocations: 0.5841 MB / 1.178 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/0.27, allocations: 144.8 kB / 1.178 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.27, allocations: 0 / 1.178 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.2701, allocations: 34.56 kB / 1.178 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=24): time 9.32e-07/0.2701, allocations: 0 / 1.178 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of matching and sorting (n=24): time 0.0009706/0.271, allocations: 0.5492 MB / 1.179 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.2711, allocations: 55.41 kB / 1.179 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003726/0.2715, allocations: 401.4 kB / 1.179 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.379e-05/0.2715, allocations: 41.7 kB / 1.179 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.2717, allocations: 165.3 kB / 1.179 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.897e-05/0.2718, allocations: 95.17 kB / 1.18 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002247/0.272, allocations: 150.3 kB / 1.18 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.2722, allocations: 354.8 kB / 1.18 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005346/0.2727, allocations: 337 kB / 1.18 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005766/0.2733, allocations: 401.5 kB / 1.181 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008214/0.2741, allocations: 0.5723 MB / 1.181 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2741, allocations: 0 / 1.181 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001436/0.2756, allocations: 0.9211 MB / 1.182 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.437e-05/0.2756, allocations: 37.64 kB / 1.182 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.2756, allocations: 0 / 1.182 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001488/0.2758, allocations: 28.84 kB / 1.182 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007897/0.2766, allocations: 155.7 kB / 1.182 GB, free: 6.344 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00109/0.2777, allocations: 1.43 MB / 1.184 GB, free: 4.773 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/0.2792, allocations: 107.3 kB / 1.184 GB, free: 4.668 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.712e-05/0.2793, allocations: 27.98 kB / 1.184 GB, free: 4.641 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 1 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001933/0.2795, allocations: 185.8 kB / 1.184 GB, free: 4.449 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.485e-05/0.2795, allocations: 39.75 kB / 1.184 GB, free: 4.41 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.493e-05/0.2796, allocations: 35.48 kB / 1.184 GB, free: 4.379 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.2796, allocations: 7.938 kB / 1.184 GB, free: 4.371 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.2796, allocations: 0 / 1.184 GB, free: 4.371 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.2796, allocations: 3.984 kB / 1.184 GB, free: 4.367 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004869/0.2801, allocations: 457 kB / 1.185 GB, free: 3.871 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2801, allocations: 4 kB / 1.185 GB, free: 3.867 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002538/0.2804, allocations: 47.91 kB / 1.185 GB, free: 3.82 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.752e-05/0.2805, allocations: 28.84 kB / 1.185 GB, free: 3.789 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.587e-05/0.2805, allocations: 11.98 kB / 1.185 GB, free: 3.777 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001015/0.2815, allocations: 1.426 MB / 1.186 GB, free: 2.203 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2816, allocations: 0 / 1.186 GB, free: 2.203 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007896/0.2823, allocations: 0.5978 MB / 1.187 GB, free: 1.582 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.653e-05/0.2825, allocations: 116.8 kB / 1.187 GB, free: 1.449 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.774e-05/0.2825, allocations: 12 kB / 1.187 GB, free: 1.438 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006653/0.2832, allocations: 27.91 kB / 1.187 GB, free: 1.41 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.296e-05/0.2832, allocations: 19.97 kB / 1.187 GB, free: 1.391 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.2833, allocations: 4 kB / 1.187 GB, free: 1.387 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002403/0.2835, allocations: 259.2 kB / 1.187 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2835, allocations: 4 kB / 1.187 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005619/0.2841, allocations: 235.9 kB / 1.187 GB, free: 0.9023 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (soi.T[1],soi.T[2],soi.T[3],soi.T[4],soi.T[5],soi.T[6],soi.T[7],soi.T[8],soi.T[9],soi.T[10]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 22 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001121/0.2852, allocations: 1.149 MB / 1.188 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001063/0.2863, allocations: 0.7439 MB / 1.189 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.2863, allocations: 3.938 kB / 1.189 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003219/0.2866, allocations: 263.9 kB / 1.189 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005106/0.2871, allocations: 102.2 kB / 1.19 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006759/0.2939, allocations: 5.49 MB / 1.195 GB, free: 9.016 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/0.2943, allocations: 0.8116 MB / 1.196 GB, free: 8.18 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002547/0.2946, allocations: 115.1 kB / 1.196 GB, free: 8.07 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002384/0.2948, allocations: 127.4 kB / 1.196 GB, free: 7.945 MB / 0.9512 GB Notification: Performance of SimCode: time 2.4e-07/0.2948, allocations: 0 / 1.196 GB, free: 7.945 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.359/1.654, allocations: 12.15 MB / 1.208 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/13.11, allocations: 2.328 kB / 1.208 GB, free: 12.08 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical_fmu --startTime=0 --stopTime=360000 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_Validation_Cylindrical.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.Validation.Cylindrical.pipe 2>&1)