Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.InternalResistancesOneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",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.8139/0.8139, allocations: 127.3 MB / 139.8 MB, free: 15.43 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00119/0.00119, allocations: 179.8 kB / 169.7 MB, free: 1.738 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.608/1.608, allocations: 205.1 MB / 404.5 MB, free: 1.582 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.0008819/0.000882, allocations: 83.69 kB / 481.8 MB, free: 4.238 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.482e-05/3.484e-05, allocations: 4 kB / 0.5533 GB, free: 54.68 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1536, allocations: 76.76 MB / 0.6283 GB, free: 9.859 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5446/0.6983, allocations: 111.6 MB / 0.7373 GB, free: 1.773 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003152/0.6987, allocations: 116.8 kB / 0.7374 GB, free: 1.699 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0498/0.7485, allocations: 18.54 MB / 0.7555 GB, free: 1.832 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.132e-06/0.7485, allocations: 0 / 0.7555 GB, free: 1.832 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.402e-05/0.7485, allocations: 12 kB / 0.7555 GB, free: 1.82 MB / 0.4948 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.0008211/0.7494, allocations: 0.5766 MB / 0.7561 GB, free: 1.199 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.135e-05/0.7494, allocations: 12.03 kB / 0.7561 GB, free: 1.188 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.614e-05/0.7495, allocations: 58.53 kB / 0.7562 GB, free: 1.121 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.738e-05/0.7496, allocations: 47.44 kB / 0.7562 GB, free: 1.074 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005039/0.7501, allocations: 343.7 kB / 0.7565 GB, free: 0.6953 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.7502, allocations: 16.44 kB / 0.7565 GB, free: 0.6797 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.687e-05/0.7502, allocations: 27.91 kB / 0.7566 GB, free: 0.6523 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003708/0.7506, allocations: 187.6 kB / 0.7568 GB, free: 472 kB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.7506, allocations: 3.953 kB / 0.7568 GB, free: 468 kB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.7507, allocations: 8 kB / 0.7568 GB, free: 460 kB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.7507, allocations: 8 kB / 0.7568 GB, free: 452 kB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002758/0.7509, allocations: 133.7 kB / 0.7569 GB, free: 320 kB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001301/0.7523, allocations: 0.8702 MB / 0.7577 GB, free: 15.37 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.7525, allocations: 146.8 kB / 0.7579 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.7527, allocations: 104.8 kB / 0.758 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.7527, allocations: 4 kB / 0.758 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.7528, allocations: 38.56 kB / 0.758 GB, free: 15.06 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 2.124e-06/0.7528, allocations: 0 / 0.758 GB, free: 15.06 MB / 0.5105 GB Notification: Performance of matching and sorting (n=18): time 0.0004005/0.7532, allocations: 173.5 kB / 0.7582 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.7532, allocations: 51.41 kB / 0.7582 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004558/0.7537, allocations: 366.9 kB / 0.7586 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.7537, allocations: 29.7 kB / 0.7586 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002132/0.754, allocations: 204.2 kB / 0.7588 GB, free: 14.22 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.246e-05/0.754, allocations: 67 kB / 0.7589 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.094e-06/0.7541, allocations: 4 kB / 0.7589 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.7542, allocations: 350.8 kB / 0.7592 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.653e-05/0.7543, allocations: 48 kB / 0.7593 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.499e-05/0.7544, allocations: 40 kB / 0.7593 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.26e-05/0.7545, allocations: 50.73 kB / 0.7593 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.7545, allocations: 0 / 0.7593 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002808/0.7548, allocations: 181.2 kB / 0.7595 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.7548, allocations: 8 kB / 0.7595 GB, free: 13.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.7549, allocations: 0 / 0.7595 GB, free: 13.47 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.7549, allocations: 0 / 0.7595 GB, free: 13.47 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002821/0.7552, allocations: 55.97 kB / 0.7596 GB, free: 13.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.7552, allocations: 3.953 kB / 0.7596 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/0.7554, allocations: 31.81 kB / 0.7596 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.7554, allocations: 4 kB / 0.7596 GB, free: 13.38 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 (20): * Single equations (assignments): 20 * 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 0.0001042/0.7555, allocations: 120.7 kB / 0.7597 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.55e-05/0.7556, allocations: 39.53 kB / 0.7598 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.42e-05/0.7557, allocations: 43.36 kB / 0.7598 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.7557, allocations: 0 / 0.7598 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.7557, allocations: 0 / 0.7598 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.7557, allocations: 7.953 kB / 0.7598 GB, free: 13.17 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004789/0.7562, allocations: 373.3 kB / 0.7602 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.7562, allocations: 0 / 0.7602 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000269/0.7565, allocations: 55.95 kB / 0.7602 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.7565, allocations: 7.938 kB / 0.7602 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.7566, allocations: 4 kB / 0.7602 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.7566, allocations: 7.938 kB / 0.7603 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.7566, allocations: 0 / 0.7603 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004881/0.7571, allocations: 341 kB / 0.7606 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.7572, allocations: 120.7 kB / 0.7607 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.021e-05/0.7573, allocations: 0 / 0.7607 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/0.7574, allocations: 23.95 kB / 0.7607 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.523e-05/0.7575, allocations: 11.92 kB / 0.7607 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.7575, allocations: 8 kB / 0.7607 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004127/0.7579, allocations: 297.2 kB / 0.761 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.3e-07/0.758, allocations: 0 / 0.761 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003832/0.7583, allocations: 87.8 kB / 0.7611 GB, free: 11.78 MB / 0.5105 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 () * 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 (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.001064/0.7594, allocations: 1.037 MB / 0.7621 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000237/0.7597, allocations: 115.9 kB / 0.7622 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.7597, allocations: 0 / 0.7622 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.7598, allocations: 66.91 kB / 0.7623 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004837/0.7603, allocations: 94.69 kB / 0.7624 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.7616, allocations: 0.5966 MB / 0.763 GB, free: 9.824 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004609/0.762, allocations: 0.8031 MB / 0.7637 GB, free: 8.996 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001328/0.7622, allocations: 34.95 kB / 0.7638 GB, free: 8.961 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001791/0.7624, allocations: 115.4 kB / 0.7639 GB, free: 8.848 MB / 0.5105 GB Notification: Performance of SimCode: time 3.006e-06/0.7624, allocations: 0 / 0.7639 GB, free: 8.848 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02408/0.7864, allocations: 9.487 MB / 0.7732 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001721/0.7867, allocations: 227.7 kB / 0.7734 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.463/3.25, allocations: 7.062 kB / 0.7734 GB, free: 15.38 MB / 0.5261 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)