Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007447/0.0007447, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007621/0.0007621, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8322/0.8322, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002207/0.002207, allocations: 233.8 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6333/0.6333, allocations: 138.4 MB / 454.3 MB, free: 1.648 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 3.938 kB / 0.6464 GB, free: 29.05 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.338e-05/1.447e-05, allocations: 8.109 kB / 0.6464 GB, free: 29.04 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001543/0.001557, allocations: 1.42 MB / 0.6478 GB, free: 27.93 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002574/0.004131, allocations: 2.636 MB / 0.6504 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.213e-05/0.004163, allocations: 0 / 0.6504 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.919e-05/0.004182, allocations: 8.922 kB / 0.6504 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.924e-05/0.004232, allocations: 16.83 kB / 0.6504 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002288/0.006519, allocations: 1.627 MB / 0.652 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.006623, allocations: 40.38 kB / 0.652 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 5.028e-05/0.006674, allocations: 6.578 kB / 0.652 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.412e-05/0.006718, allocations: 17.52 kB / 0.652 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 2.018e-05/0.006738, allocations: 16.28 kB / 0.6521 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.006751, allocations: 1.5 kB / 0.6521 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001219/0.007969, allocations: 1.455 MB / 0.6535 GB, free: 23.97 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.102e-05/0.00798, allocations: 5.062 kB / 0.6535 GB, free: 23.97 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.128e-05/0.008002, allocations: 8.125 kB / 0.6535 GB, free: 23.97 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0009272/0.008929, allocations: 1.244 MB / 0.6547 GB, free: 23.24 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.008931, allocations: 0 / 0.6547 GB, free: 23.24 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.31e-07/0.008932, allocations: 0 / 0.6547 GB, free: 23.24 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.008936, allocations: 1.406 kB / 0.6547 GB, free: 23.24 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003394/0.009276, allocations: 471.1 kB / 0.6552 GB, free: 22.81 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.009316, allocations: 9.594 kB / 0.6552 GB, free: 22.81 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.544e-05/0.009342, allocations: 110 kB / 0.6553 GB, free: 22.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.422e-05/0.009376, allocations: 82.55 kB / 0.6553 GB, free: 22.62 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.035e-05/0.009446, allocations: 192.5 kB / 0.6555 GB, free: 22.41 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.009463, allocations: 152.3 kB / 0.6557 GB, free: 22.26 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.009481, allocations: 152.4 kB / 0.6558 GB, free: 22.11 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.489e-05/0.009516, allocations: 105.5 kB / 0.6559 GB, free: 22 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.009526, allocations: 80.59 kB / 0.656 GB, free: 21.93 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.00954, allocations: 150.6 kB / 0.6561 GB, free: 21.78 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.009553, allocations: 155.8 kB / 0.6563 GB, free: 21.62 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.527e-05/0.009568, allocations: 160 kB / 0.6564 GB, free: 21.47 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001329/0.009701, allocations: 432.9 kB / 0.6569 GB, free: 21.01 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.86e-05/0.00974, allocations: 171.7 kB / 0.657 GB, free: 20.84 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.152e-05/0.009751, allocations: 80.14 kB / 0.6571 GB, free: 20.75 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 9.969e-06/0.009761, allocations: 80.41 kB / 0.6572 GB, free: 20.68 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.494e-05/0.009776, allocations: 110.9 kB / 0.6573 GB, free: 20.56 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 6.31e-07/0.009777, allocations: 0 / 0.6573 GB, free: 20.56 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 5.07e-05/0.009828, allocations: 37.12 kB / 0.6573 GB, free: 20.52 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.447e-05/0.009852, allocations: 130.6 kB / 0.6574 GB, free: 20.38 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.848e-05/0.009941, allocations: 138.5 kB / 0.6576 GB, free: 20.26 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.298e-06/0.009945, allocations: 29.7 kB / 0.6576 GB, free: 20.22 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.652e-05/0.009971, allocations: 94.77 kB / 0.6577 GB, free: 20.13 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.404e-06/0.009974, allocations: 0 / 0.6577 GB, free: 20.13 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.394e-05/0.009998, allocations: 18.88 kB / 0.6577 GB, free: 20.11 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.073e-05/0.01003, allocations: 320.5 kB / 0.658 GB, free: 19.79 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.859e-05/0.01005, allocations: 3.406 kB / 0.658 GB, free: 19.79 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.141e-05/0.01006, allocations: 2.688 kB / 0.658 GB, free: 19.79 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.147e-05/0.01009, allocations: 15.14 kB / 0.658 GB, free: 19.78 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.01009, allocations: 0 / 0.658 GB, free: 19.78 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.197e-05/0.01018, allocations: 47.98 kB / 0.6581 GB, free: 19.74 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.0102, allocations: 12.41 kB / 0.6581 GB, free: 19.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/0.01021, allocations: 10.56 kB / 0.6581 GB, free: 19.72 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.01023, allocations: 0 / 0.6581 GB, free: 19.72 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.81e-07/0.01023, allocations: 1.125 kB / 0.6581 GB, free: 19.72 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.01023, allocations: 0 / 0.6581 GB, free: 19.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.381e-05/0.01024, allocations: 1.125 kB / 0.6581 GB, free: 19.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.01025, allocations: 1.125 kB / 0.6581 GB, free: 19.72 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.844e-05/0.01029, allocations: 188.3 kB / 0.6583 GB, free: 19.53 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.01031, allocations: 119.4 kB / 0.6584 GB, free: 19.41 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.788e-05/0.01033, allocations: 115.7 kB / 0.6585 GB, free: 19.29 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/0.01035, allocations: 177.5 kB / 0.6587 GB, free: 19.11 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.57e-05/0.01036, allocations: 186 kB / 0.6589 GB, free: 18.93 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/0.01038, allocations: 185.2 kB / 0.659 GB, free: 18.74 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.953e-05/0.01045, allocations: 379.4 kB / 0.6594 GB, free: 18.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.677e-06/0.01046, allocations: 106 kB / 0.6595 GB, free: 18.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.865e-06/0.01047, allocations: 102.2 kB / 0.6596 GB, free: 18.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.426e-05/0.01049, allocations: 185.8 kB / 0.6598 GB, free: 17.92 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.0105, allocations: 181.5 kB / 0.6599 GB, free: 17.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-05/0.01052, allocations: 181 kB / 0.6601 GB, free: 17.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.447e-05/0.01053, allocations: 182.4 kB / 0.6603 GB, free: 17.37 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.385e-05/0.01057, allocations: 297.6 kB / 0.6606 GB, free: 17.06 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 1.681e-05/0.01059, allocations: 123.5 kB / 0.6607 GB, free: 16.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.01061, allocations: 186.9 kB / 0.6609 GB, free: 16.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.342e-05/0.01065, allocations: 106.2 kB / 0.661 GB, free: 16.64 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.957e-05/0.01067, allocations: 177.5 kB / 0.6611 GB, free: 16.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.01067, allocations: 101.9 kB / 0.6612 GB, free: 16.36 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.261e-05/0.01071, allocations: 109.6 kB / 0.6613 GB, free: 16.26 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.01071, allocations: 5.125 kB / 0.6613 GB, free: 16.26 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004353/0.01114, allocations: 289.7 kB / 0.6616 GB, free: 16.17 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 () * 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 (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.0007437/0.01189, allocations: 1.224 MB / 0.6628 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.953e-05/0.01196, allocations: 32.52 kB / 0.6628 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01196, allocations: 0 / 0.6628 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.274e-06/0.01196, allocations: 4.844 kB / 0.6629 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/0.01216, allocations: 464.7 kB / 0.6633 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007072/0.01286, allocations: 1.578 MB / 0.6648 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.965e-05/0.01289, allocations: 67.53 kB / 0.6649 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 9.838e-06/0.0129, allocations: 1.25 kB / 0.6649 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.142e-05/0.01292, allocations: 18.89 kB / 0.6649 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of SimCode: time 6.71e-07/0.01292, allocations: 0 / 0.6649 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01655/0.02948, allocations: 7.82 MB / 0.6726 GB, free: 6.559 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.587/6.617, allocations: 6.234 kB / 0.6726 GB, free: 6.555 MB / 0.5105 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.140015139244497] Failed to read output from testmodel.py, exit status != 0: 6.698542200028896 6.70592533 6.695268356 Calling exit ...