Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 108.7 kB / 16.41 MB, free: 6.414 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.001094/0.001094, allocations: 185.7 kB / 17.34 MB, free: 5.695 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.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002372/0.002372, allocations: 292.1 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9598/0.9598, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00178/0.00178, allocations: 95.84 kB / 0.6822 GB, free: 6.914 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6137/0.6155, allocations: 86.97 MB / 0.7671 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002683/0.6182, allocations: 1.363 MB / 0.7684 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001612/0.6198, allocations: 1.085 MB / 0.7695 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.884e-05/0.6199, allocations: 0 / 0.7695 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.271e-05/0.6199, allocations: 7.922 kB / 0.7695 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.188e-05/0.62, allocations: 11.92 kB / 0.7695 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005771/0.6206, allocations: 218.9 kB / 0.7697 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.643e-05/0.6206, allocations: 31.86 kB / 0.7698 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.303e-05/0.6207, allocations: 4 kB / 0.7698 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.713e-05/0.6208, allocations: 15.88 kB / 0.7698 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.404e-05/0.6208, allocations: 15.92 kB / 0.7698 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.6209, allocations: 4 kB / 0.7698 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005908/0.6215, allocations: 427.5 kB / 0.7702 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.189e-05/0.6215, allocations: 4 kB / 0.7702 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.657e-05/0.6215, allocations: 11.94 kB / 0.7702 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002872/0.6218, allocations: 191.7 kB / 0.7704 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.6218, allocations: 4 kB / 0.7704 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6218, allocations: 0 / 0.7704 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.6218, allocations: 0 / 0.7704 GB, free: 0.5586 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004477/0.6223, allocations: 389.9 kB / 0.7708 GB, free: 136 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.6223, allocations: 12.03 kB / 0.7708 GB, free: 124 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.112e-05/0.6224, allocations: 4.844 kB / 0.7708 GB, free: 120 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.6225, allocations: 172.3 kB / 0.771 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.6225, allocations: 384 / 0.771 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.6225, allocations: 4.375 kB / 0.771 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.6226, allocations: 42 kB / 0.771 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.6227, allocations: 0 / 0.771 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.6227, allocations: 0 / 0.771 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.6227, allocations: 0 / 0.771 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.402e-05/0.6227, allocations: 11.98 kB / 0.771 GB, free: 15.85 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000168/0.6229, allocations: 173.6 kB / 0.7712 GB, free: 15.63 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.753e-05/0.623, allocations: 42.55 kB / 0.7712 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.879e-05/0.623, allocations: 12.89 kB / 0.7712 GB, free: 15.56 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008922/0.6239, allocations: 0.9856 MB / 0.7722 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.624, allocations: 42.48 kB / 0.7722 GB, free: 14.3 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.624, allocations: 4 kB / 0.7722 GB, free: 14.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0001687/0.6242, allocations: 49.69 kB / 0.7723 GB, free: 14.25 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.6242, allocations: 55.34 kB / 0.7723 GB, free: 14.18 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.41e-05/0.6243, allocations: 113.8 kB / 0.7725 GB, free: 14.06 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.6243, allocations: 25.7 kB / 0.7725 GB, free: 14.03 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.913e-05/0.6244, allocations: 88.12 kB / 0.7726 GB, free: 13.94 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/0.6244, allocations: 7.812 kB / 0.7726 GB, free: 13.93 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/0.6244, allocations: 17.72 kB / 0.7726 GB, free: 13.91 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.6245, allocations: 318.8 kB / 0.7729 GB, free: 13.59 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.089e-05/0.6246, allocations: 8 kB / 0.7729 GB, free: 13.58 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.636e-05/0.6246, allocations: 8.172 kB / 0.7729 GB, free: 13.57 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.042e-05/0.6246, allocations: 20.86 kB / 0.7729 GB, free: 13.55 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.6246, allocations: 0 / 0.7729 GB, free: 13.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.553e-05/0.6247, allocations: 49.69 kB / 0.773 GB, free: 13.49 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.6247, allocations: 15.88 kB / 0.773 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.6248, allocations: 0 / 0.773 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.6248, allocations: 3.938 kB / 0.773 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.6249, allocations: 15.98 kB / 0.773 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.6249, allocations: 0 / 0.773 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.118e-05/0.6249, allocations: 0 / 0.773 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.6249, allocations: 0 / 0.773 GB, free: 13.46 MB / 0.545 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.219e-05/0.625, allocations: 117.8 kB / 0.7731 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.168e-05/0.625, allocations: 7.844 kB / 0.7731 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/0.6251, allocations: 65.52 kB / 0.7732 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.6252, allocations: 4 kB / 0.7732 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.6252, allocations: 0 / 0.7732 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.6252, allocations: 3.938 kB / 0.7732 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.6253, allocations: 157.7 kB / 0.7733 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.6253, allocations: 4 kB / 0.7733 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.452e-05/0.6254, allocations: 15.98 kB / 0.7734 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.6254, allocations: 7.938 kB / 0.7734 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.6254, allocations: 0 / 0.7734 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.6254, allocations: 0 / 0.7734 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.6254, allocations: 0 / 0.7734 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.366e-05/0.6255, allocations: 73.12 kB / 0.7734 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.136e-05/0.6256, allocations: 88.95 kB / 0.7735 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.6256, allocations: 0 / 0.7735 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.205e-05/0.6256, allocations: 0 / 0.7735 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.084e-05/0.6256, allocations: 11.98 kB / 0.7735 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.339e-06/0.6257, allocations: 4 kB / 0.7735 GB, free: 12.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.139e-05/0.6257, allocations: 79.28 kB / 0.7736 GB, free: 12.72 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6257, allocations: 3.938 kB / 0.7736 GB, free: 12.72 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002301/0.6259, allocations: 43.98 kB / 0.7737 GB, free: 12.68 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002379/0.6262, allocations: 151.1 kB / 0.7738 GB, free: 12.52 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.626e-05/0.6263, allocations: 20 kB / 0.7738 GB, free: 12.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.6263, allocations: 7.938 kB / 0.7738 GB, free: 12.49 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.1e-05/0.6263, allocations: 11.98 kB / 0.7738 GB, free: 12.48 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.6266, allocations: 7.75 kB / 0.7739 GB, free: 12.48 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003281/0.6269, allocations: 170.9 kB / 0.774 GB, free: 12.28 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/0.6271, allocations: 0.6849 MB / 0.7747 GB, free: 11.57 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.474e-05/0.6272, allocations: 15.44 kB / 0.7747 GB, free: 11.55 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.6272, allocations: 0 / 0.7747 GB, free: 11.55 MB / 0.545 GB Notification: Performance of Templates: time 0.002454/0.6296, allocations: 1.044 MB / 0.7757 GB, free: 10.52 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)