Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.795/0.795, allocations: 127.4 MB / 134.9 MB, free: 3.727 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001195/0.001195, allocations: 176.9 kB / 164.7 MB, free: 6.52 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.802/1.802, allocations: 205.2 MB / 399.5 MB, free: 5.934 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 87.48 kB / 476.7 MB, free: 8.668 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.564e-05/2.565e-05, allocations: 4 kB / 0.5467 GB, free: 60.36 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1775, allocations: 76.77 MB / 0.6217 GB, free: 15.52 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6138/0.7913, allocations: 113.5 MB / 0.7325 GB, free: 1.883 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003089/0.7917, allocations: 113.3 kB / 0.7327 GB, free: 1.812 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05736/0.849, allocations: 22.47 MB / 0.7546 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.064e-06/0.8491, allocations: 0 / 0.7546 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.774e-05/0.8491, allocations: 12 kB / 0.7546 GB, free: 15.3 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001087/0.8502, allocations: 0.7557 MB / 0.7553 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.8503, allocations: 12.03 kB / 0.7554 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.8504, allocations: 75.16 kB / 0.7554 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005971/0.851, allocations: 440.5 kB / 0.7558 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.851, allocations: 19.95 kB / 0.7559 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.971e-05/0.8511, allocations: 28 kB / 0.7559 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005217/0.8516, allocations: 301.8 kB / 0.7562 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005777/0.8522, allocations: 330.3 kB / 0.7565 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.8523, allocations: 3.938 kB / 0.7565 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.051e-05/0.8523, allocations: 0 / 0.7565 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.8523, allocations: 12 kB / 0.7565 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001959/0.8543, allocations: 1.442 MB / 0.7579 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003962/0.8547, allocations: 306.3 kB / 0.7582 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003584/0.8551, allocations: 272.2 kB / 0.7585 GB, free: 12.08 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.927e-05/0.8551, allocations: 4.688 kB / 0.7585 GB, free: 12.08 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.8551, allocations: 41.75 kB / 0.7585 GB, free: 12.03 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=42): time 1.693e-06/0.8551, allocations: 0 / 0.7585 GB, free: 12.03 MB / 0.5105 GB Notification: Performance of matching and sorting (n=42): time 0.0005257/0.8557, allocations: 322.5 kB / 0.7588 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.8557, allocations: 59.34 kB / 0.7589 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004389/0.8562, allocations: 368.5 kB / 0.7592 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.8562, allocations: 33.7 kB / 0.7593 GB, free: 11.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001703/0.8564, allocations: 280 kB / 0.7595 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.8565, allocations: 139.1 kB / 0.7597 GB, free: 11.08 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.317e-05/0.8565, allocations: 0 / 0.7597 GB, free: 11.08 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.8567, allocations: 357.7 kB / 0.76 GB, free: 10.74 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.8568, allocations: 95.94 kB / 0.7601 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.857, allocations: 99.5 kB / 0.7602 GB, free: 10.63 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.8572, allocations: 111 kB / 0.7603 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.8572, allocations: 0 / 0.7603 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004385/0.8576, allocations: 337.6 kB / 0.7606 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.8577, allocations: 4 kB / 0.7606 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.8577, allocations: 0 / 0.7606 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.8577, allocations: 4 kB / 0.7606 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005024/0.8582, allocations: 123.4 kB / 0.7607 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.8582, allocations: 7.953 kB / 0.7608 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000238/0.8585, allocations: 47.59 kB / 0.7608 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.8585, allocations: 11.25 kB / 0.7608 GB, free: 10.14 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 (46): * Single equations (assignments): 46 * 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 8.548e-05/0.8586, allocations: 104.9 kB / 0.7609 GB, free: 10.03 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004436/0.859, allocations: 315.9 kB / 0.7612 GB, free: 9.793 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.846e-05/0.8591, allocations: 43.44 kB / 0.7613 GB, free: 9.75 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/0.8592, allocations: 53.42 kB / 0.7613 GB, free: 9.719 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.8592, allocations: 8 kB / 0.7613 GB, free: 9.711 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.8593, allocations: 0 / 0.7613 GB, free: 9.711 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.8593, allocations: 3.984 kB / 0.7613 GB, free: 9.707 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005617/0.8598, allocations: 0.5043 MB / 0.7618 GB, free: 9.293 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.8598, allocations: 0 / 0.7618 GB, free: 9.293 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005029/0.8604, allocations: 123.2 kB / 0.7619 GB, free: 9.176 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.8604, allocations: 4 kB / 0.7619 GB, free: 9.172 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.017e-05/0.8604, allocations: 0 / 0.7619 GB, free: 9.172 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.8604, allocations: 4 kB / 0.7619 GB, free: 9.168 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.8604, allocations: 3.953 kB / 0.7619 GB, free: 9.164 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006591/0.8611, allocations: 0.5696 MB / 0.7625 GB, free: 8.738 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.643e-05/0.8612, allocations: 127.1 kB / 0.7626 GB, free: 8.602 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.134e-05/0.8612, allocations: 0 / 0.7626 GB, free: 8.602 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.8615, allocations: 23.97 kB / 0.7626 GB, free: 8.578 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.06e-05/0.8616, allocations: 23.16 kB / 0.7627 GB, free: 8.559 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.8616, allocations: 15.77 kB / 0.7627 GB, free: 8.547 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002797/0.8619, allocations: 294.5 kB / 0.763 GB, free: 8.332 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8619, allocations: 4 kB / 0.763 GB, free: 8.328 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004378/0.8623, allocations: 142.6 kB / 0.7631 GB, free: 8.191 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * 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.001236/0.8636, allocations: 1.285 MB / 0.7643 GB, free: 7.059 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003979/0.864, allocations: 274.5 kB / 0.7646 GB, free: 6.887 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.864, allocations: 0 / 0.7646 GB, free: 6.887 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001879/0.8642, allocations: 156.2 kB / 0.7648 GB, free: 6.785 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005045/0.8647, allocations: 82.94 kB / 0.7648 GB, free: 6.727 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/0.8665, allocations: 0.9887 MB / 0.7658 GB, free: 5.793 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004772/0.8669, allocations: 0.8851 MB / 0.7667 GB, free: 4.883 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001806/0.8671, allocations: 49.89 kB / 0.7667 GB, free: 4.836 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002425/0.8674, allocations: 197.8 kB / 0.7669 GB, free: 4.789 MB / 0.5105 GB Notification: Performance of SimCode: time 2.5e-07/0.8674, allocations: 0 / 0.7669 GB, free: 4.789 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.035/0.9024, allocations: 9.407 MB / 0.7761 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002685/0.9027, allocations: 226.7 kB / 0.7763 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.203/3.106, allocations: 7.891 kB / 0.7763 GB, free: 11.18 MB / 0.5261 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)