Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.0008411/0.0008411, allocations: 76.5 kB / 19.93 MB, free: 4.621 MB / 18.57 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.001308/0.001308, allocations: 173.9 kB / 23.21 MB, free: 1.344 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.8739/0.8739, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5646/0.5646, allocations: 114 MB / 373.9 MB, free: 8.699 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.5542 GB, free: 2.723 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.028e-05/2.21e-05, allocations: 5.094 kB / 0.5543 GB, free: 2.719 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.00327/0.003292, allocations: 2.836 MB / 0.557 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.00185/0.005142, allocations: 1.958 MB / 0.5589 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001435/0.005285, allocations: 8 kB / 0.5589 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0009812/0.006266, allocations: 481.6 kB / 0.5594 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001546/0.006421, allocations: 150.7 kB / 0.5595 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 8.217e-05/0.006503, allocations: 59.94 kB / 0.5596 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003096/0.006813, allocations: 464.3 kB / 0.56 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.006973, allocations: 99.78 kB / 0.5601 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002637/0.007237, allocations: 243.4 kB / 0.5604 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.007375, allocations: 135.6 kB / 0.5605 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.944e-05/0.007405, allocations: 36 kB / 0.5605 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 3.486e-05/0.00744, allocations: 36 kB / 0.5606 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.631e-05/0.007526, allocations: 99.61 kB / 0.5607 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 9.04e-05/0.007616, allocations: 135.7 kB / 0.5608 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003441/0.007961, allocations: 0.5373 MB / 0.5613 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.007963, allocations: 0 / 0.5613 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.212e-06/0.007964, allocations: 0 / 0.5613 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.007969, allocations: 0 / 0.5613 GB, free: 11.45 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006485/0.008618, allocations: 0.6368 MB / 0.5619 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.008657, allocations: 12.62 kB / 0.562 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.157e-05/0.008698, allocations: 50.73 kB / 0.562 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/0.008743, allocations: 48.66 kB / 0.562 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000337/0.00908, allocations: 323.7 kB / 0.5624 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.009095, allocations: 20.88 kB / 0.5624 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.804e-05/0.009123, allocations: 20.38 kB / 0.5624 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000254/0.009377, allocations: 208 kB / 0.5626 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.009389, allocations: 0 / 0.5626 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.009405, allocations: 8 kB / 0.5626 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.009412, allocations: 8 kB / 0.5626 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002214/0.009634, allocations: 161.9 kB / 0.5628 GB, free: 9.906 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008028/0.01044, allocations: 0.6865 MB / 0.5634 GB, free: 9.176 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/0.01063, allocations: 138.6 kB / 0.5636 GB, free: 9.031 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.01074, allocations: 101.1 kB / 0.5637 GB, free: 8.93 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.01076, allocations: 7.844 kB / 0.5637 GB, free: 8.922 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.01078, allocations: 42.55 kB / 0.5637 GB, free: 8.871 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 1.172e-06/0.01078, allocations: 0 / 0.5637 GB, free: 8.871 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.000355/0.01113, allocations: 251.5 kB / 0.564 GB, free: 8.621 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/0.01116, allocations: 55.41 kB / 0.564 GB, free: 8.555 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002894/0.01145, allocations: 417.7 kB / 0.5644 GB, free: 8.137 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.01146, allocations: 29.64 kB / 0.5644 GB, free: 8.102 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.498e-05/0.01156, allocations: 212.4 kB / 0.5646 GB, free: 7.887 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.466e-05/0.0116, allocations: 67.42 kB / 0.5647 GB, free: 7.82 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.619e-05/0.01164, allocations: 25.72 kB / 0.5647 GB, free: 7.789 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.028e-05/0.01173, allocations: 350.8 kB / 0.5651 GB, free: 7.438 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.06e-05/0.01181, allocations: 59.97 kB / 0.5651 GB, free: 7.379 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.343e-05/0.01188, allocations: 63.89 kB / 0.5652 GB, free: 7.316 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.01205, allocations: 130.8 kB / 0.5653 GB, free: 7.188 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.01205, allocations: 3.938 kB / 0.5653 GB, free: 7.184 MB / 0.5261 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002167/0.01227, allocations: 211.6 kB / 0.5655 GB, free: 6.973 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.01228, allocations: 7.938 kB / 0.5655 GB, free: 6.965 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.01228, allocations: 4 kB / 0.5655 GB, free: 6.961 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.0123, allocations: 7.984 kB / 0.5655 GB, free: 6.953 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.01244, allocations: 51.91 kB / 0.5656 GB, free: 6.902 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.01244, allocations: 0 / 0.5656 GB, free: 6.902 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.871e-05/0.01251, allocations: 19.89 kB / 0.5656 GB, free: 6.883 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.01252, allocations: 7.984 kB / 0.5656 GB, free: 6.875 MB / 0.5261 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 (20): * Single equations (assignments): 20 * 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 0.0001003/0.01262, allocations: 157.8 kB / 0.5658 GB, free: 6.711 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.21e-05/0.01265, allocations: 39.72 kB / 0.5658 GB, free: 6.672 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.573e-05/0.0127, allocations: 47.45 kB / 0.5658 GB, free: 6.625 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.0127, allocations: 4 kB / 0.5658 GB, free: 6.621 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.0127, allocations: 7.938 kB / 0.5658 GB, free: 6.613 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.01271, allocations: 0 / 0.5658 GB, free: 6.613 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/0.01294, allocations: 304.5 kB / 0.5661 GB, free: 6.273 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.01294, allocations: 0 / 0.5661 GB, free: 6.273 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.01307, allocations: 51.97 kB / 0.5662 GB, free: 6.223 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.01307, allocations: 4 kB / 0.5662 GB, free: 6.219 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.01308, allocations: 3.938 kB / 0.5662 GB, free: 6.215 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.01309, allocations: 0 / 0.5662 GB, free: 6.215 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.01309, allocations: 0 / 0.5662 GB, free: 6.215 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004089/0.0135, allocations: 387 kB / 0.5666 GB, free: 5.82 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.094e-05/0.01355, allocations: 43.72 kB / 0.5666 GB, free: 5.777 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.01357, allocations: 15.94 kB / 0.5666 GB, free: 5.762 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.31e-05/0.01367, allocations: 11.98 kB / 0.5666 GB, free: 5.75 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.644e-05/0.0137, allocations: 7.984 kB / 0.5666 GB, free: 5.742 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.01371, allocations: 0 / 0.5666 GB, free: 5.742 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002071/0.01392, allocations: 307.1 kB / 0.5669 GB, free: 5.445 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9e-08/0.01392, allocations: 4.062 kB / 0.5669 GB, free: 5.441 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001834/0.0141, allocations: 71.89 kB / 0.567 GB, free: 5.371 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.0005156/0.01462, allocations: 0.9209 MB / 0.5679 GB, free: 4.426 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002099/0.01483, allocations: 131.9 kB / 0.568 GB, free: 4.297 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.01483, allocations: 0 / 0.568 GB, free: 4.297 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.734e-05/0.01492, allocations: 86.08 kB / 0.5681 GB, free: 4.215 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.01526, allocations: 83.41 kB / 0.5682 GB, free: 4.133 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003044/0.0183, allocations: 3.449 MB / 0.5716 GB, free: 0.5977 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.01842, allocations: 194.4 kB / 0.5717 GB, free: 400 kB / 0.5261 GB Notification: Performance of simCode: alias equations: time 8.388e-05/0.0185, allocations: 34.95 kB / 0.5718 GB, free: 364 kB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.01862, allocations: 120.5 kB / 0.5719 GB, free: 244 kB / 0.5261 GB Notification: Performance of SimCode: time 6.01e-07/0.01863, allocations: 0 / 0.5719 GB, free: 244 kB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02087/0.03949, allocations: 9.083 MB / 0.5808 GB, free: 7.48 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.919/6.958, allocations: 4.062 kB / 0.5808 GB, free: 7.477 MB / 0.5417 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.403407731093466] Failed to read output from testmodel.py, exit status != 0: 7.0412012822926044 7.049082245 7.039539375 Calling exit ...