Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8259/0.8259, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 221.3 MB / 400.4 MB, free: 5.844 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009491/0.000949, allocations: 101.6 kB / 483.3 MB, free: 5.918 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.801e-05/3.804e-05, allocations: 3.875 kB / 0.5602 GB, free: 87.85 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.186, allocations: 82.3 MB / 0.6406 GB, free: 7.742 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6053/0.7913, allocations: 115.7 MB / 0.7535 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002742/0.7917, allocations: 107.5 kB / 0.7536 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01677/0.8085, allocations: 6.273 MB / 0.7598 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.164e-06/0.8085, allocations: 0 / 0.7598 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.114e-06/0.8085, allocations: 3.938 kB / 0.7598 GB, free: 25.94 MB / 0.5105 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.0004386/0.809, allocations: 396.6 kB / 0.7602 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.809, allocations: 7.688 kB / 0.7602 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.653e-05/0.809, allocations: 37.78 kB / 0.7602 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.464e-05/0.8091, allocations: 4 kB / 0.7602 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.8092, allocations: 170.9 kB / 0.7604 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.8092, allocations: 4 kB / 0.7604 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.766e-06/0.8092, allocations: 0 / 0.7604 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.8093, allocations: 44.59 kB / 0.7604 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.8094, allocations: 0 / 0.7604 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.8094, allocations: 0 / 0.7604 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.8094, allocations: 0 / 0.7604 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.438e-05/0.8094, allocations: 15.11 kB / 0.7604 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001445/0.8096, allocations: 164.1 kB / 0.7606 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.548e-05/0.8097, allocations: 43.92 kB / 0.7606 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.863e-05/0.8097, allocations: 15.7 kB / 0.7606 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008332/0.8105, allocations: 0.9796 MB / 0.7616 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.8106, allocations: 38.41 kB / 0.7616 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.352e-06/0.8106, allocations: 0 / 0.7616 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.0001403/0.8107, allocations: 47.66 kB / 0.7617 GB, free: 23.78 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.8108, allocations: 55.16 kB / 0.7617 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.972e-05/0.8108, allocations: 99.62 kB / 0.7618 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.8109, allocations: 25.7 kB / 0.7618 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.59e-05/0.8109, allocations: 87.31 kB / 0.7619 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.8109, allocations: 22.66 kB / 0.762 GB, free: 23.49 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-06/0.811, allocations: 3.938 kB / 0.762 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.8111, allocations: 310.8 kB / 0.7623 GB, free: 23.17 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.808e-05/0.8111, allocations: 7.125 kB / 0.7623 GB, free: 23.17 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.38e-05/0.8111, allocations: 3.844 kB / 0.7623 GB, free: 23.17 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.535e-05/0.8111, allocations: 15.62 kB / 0.7623 GB, free: 23.16 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.8112, allocations: 3.938 kB / 0.7623 GB, free: 23.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.251e-05/0.8112, allocations: 51.03 kB / 0.7623 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.8113, allocations: 3.844 kB / 0.7623 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.8113, allocations: 4 kB / 0.7623 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.8113, allocations: 0 / 0.7623 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.8114, allocations: 11.69 kB / 0.7623 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.8114, allocations: 0 / 0.7623 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.115e-05/0.8114, allocations: 4.031 kB / 0.7624 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.8114, allocations: 0 / 0.7624 GB, free: 23.12 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.313e-05/0.8115, allocations: 111.9 kB / 0.7625 GB, free: 23.01 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.368e-06/0.8115, allocations: 11.7 kB / 0.7625 GB, free: 23 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000132/0.8117, allocations: 63.41 kB / 0.7625 GB, free: 22.95 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.8117, allocations: 0 / 0.7625 GB, free: 22.95 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.8117, allocations: 3.812 kB / 0.7625 GB, free: 22.95 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.8117, allocations: 0 / 0.7625 GB, free: 22.95 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.716e-05/0.8118, allocations: 160.4 kB / 0.7627 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.8118, allocations: 3.953 kB / 0.7627 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.753e-05/0.8119, allocations: 11.41 kB / 0.7627 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.8119, allocations: 0 / 0.7627 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.8119, allocations: 2.938 kB / 0.7627 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.8119, allocations: 0 / 0.7627 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.8119, allocations: 0 / 0.7627 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001024/0.812, allocations: 83.28 kB / 0.7628 GB, free: 22.68 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.207e-05/0.8121, allocations: 88.95 kB / 0.7629 GB, free: 22.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.8121, allocations: 0 / 0.7629 GB, free: 22.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.228e-05/0.8121, allocations: 0 / 0.7629 GB, free: 22.57 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.443e-05/0.8121, allocations: 7.906 kB / 0.7629 GB, free: 22.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.8122, allocations: 0 / 0.7629 GB, free: 22.57 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.437e-05/0.8122, allocations: 86 kB / 0.763 GB, free: 22.49 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8122, allocations: 0 / 0.763 GB, free: 22.49 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002313/0.8124, allocations: 54.89 kB / 0.763 GB, free: 22.46 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000525/0.813, allocations: 0.6723 MB / 0.7637 GB, free: 21.84 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.043e-05/0.8131, allocations: 18.94 kB / 0.7637 GB, free: 21.84 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8131, allocations: 3.938 kB / 0.7637 GB, free: 21.84 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.71e-05/0.8131, allocations: 11.69 kB / 0.7637 GB, free: 21.84 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.8132, allocations: 10.52 kB / 0.7637 GB, free: 21.83 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003395/0.8136, allocations: 129.9 kB / 0.7638 GB, free: 21.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.8139, allocations: 0.6806 MB / 0.7645 GB, free: 21 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.631e-05/0.8139, allocations: 5.094 kB / 0.7645 GB, free: 21 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.097e-05/0.814, allocations: 7.438 kB / 0.7645 GB, free: 21 MB / 0.5105 GB Notification: Performance of SimCode: time 7.01e-07/0.814, allocations: 0 / 0.7645 GB, free: 21 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01327/0.8272, allocations: 1.886 MB / 0.7664 GB, free: 20.17 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002072/0.8275, allocations: 234.1 kB / 0.7666 GB, free: 19.92 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.499/2.326, allocations: 0 / 0.7666 GB, free: 19.92 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)