Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",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.0006927/0.0006928, allocations: 93.41 kB / 15.7 MB, free: 472 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.000722/0.000722, allocations: 170.4 kB / 16.58 MB, free: 6.066 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.172/1.172, allocations: 223.2 MB / 240.6 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5899/0.5899, allocations: 113.7 MB / 405.4 MB, free: 4.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002666/0.0002666, allocations: 13.34 kB / 493.2 MB, free: 8.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1166, allocations: 77.11 MB / 0.5569 GB, free: 11.6 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001181/0.1178, allocations: 1.121 MB / 0.558 GB, free: 10.47 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003097/0.1209, allocations: 2.614 MB / 0.5606 GB, free: 7.84 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.993e-05/0.1209, allocations: 0 / 0.5606 GB, free: 7.84 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.125e-05/0.1209, allocations: 0 / 0.5606 GB, free: 7.84 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.947e-05/0.121, allocations: 19.84 kB / 0.5606 GB, free: 7.82 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002341/0.1233, allocations: 1.23 MB / 0.5618 GB, free: 6.621 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.372e-05/0.1234, allocations: 39.73 kB / 0.5619 GB, free: 6.582 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.004e-05/0.1234, allocations: 0 / 0.5619 GB, free: 6.582 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.979e-05/0.1235, allocations: 11.94 kB / 0.5619 GB, free: 6.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.448e-05/0.1235, allocations: 15.94 kB / 0.5619 GB, free: 6.555 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.446e-06/0.1235, allocations: 0 / 0.5619 GB, free: 6.555 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001428/0.1249, allocations: 1.221 MB / 0.5631 GB, free: 5.332 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.164e-05/0.125, allocations: 15.92 kB / 0.5631 GB, free: 5.316 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.146e-05/0.125, allocations: 29.7 kB / 0.5631 GB, free: 5.281 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006963/0.1257, allocations: 0.6826 MB / 0.5638 GB, free: 4.598 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.1257, allocations: 4 kB / 0.5638 GB, free: 4.594 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1257, allocations: 3.938 kB / 0.5638 GB, free: 4.59 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.305e-06/0.1257, allocations: 0 / 0.5638 GB, free: 4.59 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004236/0.1262, allocations: 0.5028 MB / 0.5643 GB, free: 4.039 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.1262, allocations: 19.98 kB / 0.5643 GB, free: 4.02 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.665e-05/0.1262, allocations: 109.8 kB / 0.5644 GB, free: 3.902 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.533e-05/0.1263, allocations: 83.19 kB / 0.5645 GB, free: 3.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.1264, allocations: 246.3 kB / 0.5647 GB, free: 3.539 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.186e-05/0.1265, allocations: 154.5 kB / 0.5649 GB, free: 3.387 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.395e-05/0.1265, allocations: 154.6 kB / 0.565 GB, free: 3.234 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.724e-05/0.1266, allocations: 105 kB / 0.5651 GB, free: 3.125 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.776e-05/0.1266, allocations: 75.28 kB / 0.5652 GB, free: 3.051 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.801e-05/0.1266, allocations: 154.5 kB / 0.5653 GB, free: 2.898 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.144e-05/0.1267, allocations: 150.6 kB / 0.5655 GB, free: 2.75 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.779e-05/0.1267, allocations: 158.5 kB / 0.5656 GB, free: 2.594 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002357/0.127, allocations: 469.8 kB / 0.5661 GB, free: 2.086 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.518e-05/0.1271, allocations: 173.1 kB / 0.5662 GB, free: 1.906 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.462e-05/0.1271, allocations: 88.09 kB / 0.5663 GB, free: 1.816 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.1271, allocations: 75.28 kB / 0.5664 GB, free: 1.742 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.061e-05/0.1272, allocations: 109.8 kB / 0.5665 GB, free: 1.625 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 7.52e-07/0.1272, allocations: 4 kB / 0.5665 GB, free: 1.621 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 5.568e-05/0.1272, allocations: 29.7 kB / 0.5665 GB, free: 1.586 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.1273, allocations: 126.7 kB / 0.5667 GB, free: 1.449 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.1274, allocations: 136.3 kB / 0.5668 GB, free: 1.309 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.1274, allocations: 25.7 kB / 0.5668 GB, free: 1.277 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.294e-05/0.1274, allocations: 88.12 kB / 0.5669 GB, free: 1.188 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.323e-06/0.1275, allocations: 0 / 0.5669 GB, free: 1.188 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.205e-06/0.1275, allocations: 4 kB / 0.5669 GB, free: 1.184 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.495e-05/0.1276, allocations: 318.8 kB / 0.5672 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.728e-05/0.1276, allocations: 4 kB / 0.5672 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.174e-05/0.1276, allocations: 4 kB / 0.5672 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.022e-05/0.1276, allocations: 8 kB / 0.5672 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1276, allocations: 0 / 0.5672 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.695e-05/0.1277, allocations: 57.58 kB / 0.5673 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.828e-06/0.1277, allocations: 4 kB / 0.5673 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.1278, allocations: 7.984 kB / 0.5673 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.366e-06/0.1278, allocations: 0 / 0.5673 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-07/0.1278, allocations: 0 / 0.5673 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.1278, allocations: 4.062 kB / 0.5673 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.767e-05/0.1278, allocations: 3.906 kB / 0.5673 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-06/0.1278, allocations: 4 kB / 0.5673 GB, free: 0.7617 MB / 430.1 MB 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.885e-05/0.1279, allocations: 189 kB / 0.5675 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.682e-05/0.128, allocations: 112.9 kB / 0.5676 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.633e-05/0.128, allocations: 108.8 kB / 0.5677 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.365e-05/0.1281, allocations: 188.3 kB / 0.5679 GB, free: 144 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.319e-05/0.1281, allocations: 184.2 kB / 0.568 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-05/0.1282, allocations: 176.3 kB / 0.5682 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.1284, allocations: 413.2 kB / 0.5686 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.24e-05/0.1284, allocations: 104.9 kB / 0.5687 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.665e-05/0.1285, allocations: 105 kB / 0.5688 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.343e-05/0.1285, allocations: 192.2 kB / 0.569 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.215e-05/0.1286, allocations: 184.2 kB / 0.5692 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.424e-05/0.1286, allocations: 180.2 kB / 0.5693 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.613e-05/0.1287, allocations: 176.3 kB / 0.5695 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001122/0.1288, allocations: 315.7 kB / 0.5698 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.126e-05/0.1289, allocations: 186 kB / 0.57 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.358e-05/0.1289, allocations: 180.5 kB / 0.5702 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.525e-05/0.129, allocations: 108.9 kB / 0.5703 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.007e-05/0.1291, allocations: 184.3 kB / 0.5704 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.879e-05/0.1291, allocations: 108.9 kB / 0.5705 GB, free: 13.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.444e-05/0.1292, allocations: 99.27 kB / 0.5706 GB, free: 13.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1292, allocations: 0 / 0.5706 GB, free: 13.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005178/0.1297, allocations: 267.8 kB / 0.5709 GB, free: 12.85 MB / 446.1 MB 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 (0): * Single equations (assignments): 0 * 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.0009562/0.1307, allocations: 1.131 MB / 0.572 GB, free: 11.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.392e-05/0.1307, allocations: 41.64 kB / 0.572 GB, free: 11.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1307, allocations: 0 / 0.572 GB, free: 11.65 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.1308, allocations: 0 / 0.572 GB, free: 11.65 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.1311, allocations: 0.531 MB / 0.5725 GB, free: 11.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006989/0.1318, allocations: 0.6752 MB / 0.5732 GB, free: 10.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001997/0.132, allocations: 0.6848 MB / 0.5739 GB, free: 9.684 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.009e-05/0.132, allocations: 4 kB / 0.5739 GB, free: 9.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.891e-05/0.1321, allocations: 17.5 kB / 0.5739 GB, free: 9.664 MB / 446.1 MB Notification: Performance of SimCode: time 1.432e-06/0.1321, allocations: 0 / 0.5739 GB, free: 9.664 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01509/0.1472, allocations: 6.631 MB / 0.5804 GB, free: 3.285 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002427/0.1474, allocations: 271.3 kB / 0.5806 GB, free: 2.93 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.684/1.832, allocations: 0 / 0.5806 GB, free: 2.93 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) Environment - environmentSimulation: