Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",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.0007936/0.0007935, allocations: 86.33 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008307/0.0008308, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.47/2.47, allocations: 409.4 MB / 0.684 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003279/0.0003279, allocations: 15.98 kB / 0.8378 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6222/0.6226, allocations: 146.8 MB / 0.9811 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001423/0.6241, allocations: 1.182 MB / 0.9823 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.6252, allocations: 0.8343 MB / 0.9831 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.236e-05/0.6252, allocations: 8 kB / 0.9831 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001542/0.6254, allocations: 31.83 kB / 0.9832 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 2.686e-05/0.6254, allocations: 15.86 kB / 0.9832 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004372/0.6259, allocations: 181.1 kB / 0.9833 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.451e-05/0.626, allocations: 35.75 kB / 0.9834 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.753e-05/0.626, allocations: 11.97 kB / 0.9834 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.821e-05/0.6261, allocations: 19.88 kB / 0.9834 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.985e-05/0.6261, allocations: 7.938 kB / 0.9834 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.906e-06/0.6261, allocations: 4 kB / 0.9834 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002659/0.6264, allocations: 143.8 kB / 0.9836 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.247e-05/0.6264, allocations: 7.984 kB / 0.9836 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.798e-05/0.6265, allocations: 33.64 kB / 0.9836 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.6266, allocations: 78.06 kB / 0.9837 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.6266, allocations: 11.98 kB / 0.9837 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6266, allocations: 0 / 0.9837 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.75e-06/0.6266, allocations: 0 / 0.9837 GB, free: 3.688 MB / 0.7325 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.0002952/0.6269, allocations: 359.1 kB / 0.984 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.627, allocations: 8.031 kB / 0.984 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.113e-05/0.627, allocations: 105.8 kB / 0.9841 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.905e-05/0.6271, allocations: 83.19 kB / 0.9842 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.6273, allocations: 258.2 kB / 0.9845 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.006e-05/0.6273, allocations: 154.6 kB / 0.9846 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.921e-05/0.6274, allocations: 154.6 kB / 0.9848 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.134e-05/0.6275, allocations: 104.9 kB / 0.9849 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.636e-05/0.6275, allocations: 75.28 kB / 0.9849 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.805e-05/0.6275, allocations: 162.4 kB / 0.9851 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.025e-05/0.6276, allocations: 158.5 kB / 0.9852 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.364e-05/0.6276, allocations: 150.6 kB / 0.9854 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002624/0.6279, allocations: 469.9 kB / 0.9858 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.166e-05/0.628, allocations: 169.1 kB / 0.986 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.929e-05/0.628, allocations: 88.08 kB / 0.9861 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.628, allocations: 75.28 kB / 0.9861 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.38e-05/0.6281, allocations: 105.8 kB / 0.9862 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.6281, allocations: 0 / 0.9862 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 6.858e-05/0.6282, allocations: 37.56 kB / 0.9863 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.6282, allocations: 126.7 kB / 0.9864 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.6284, allocations: 139.1 kB / 0.9865 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.6284, allocations: 29.7 kB / 0.9866 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.493e-05/0.6284, allocations: 88.14 kB / 0.9866 GB, free: 440 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-06/0.6284, allocations: 0 / 0.9866 GB, free: 440 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-06/0.6285, allocations: 0 / 0.9866 GB, free: 440 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.4e-05/0.6286, allocations: 318.8 kB / 0.9869 GB, free: 112 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.312e-05/0.6286, allocations: 8 kB / 0.987 GB, free: 104 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.045e-05/0.6286, allocations: 3.938 kB / 0.987 GB, free: 100 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.262e-05/0.6286, allocations: 4 kB / 0.987 GB, free: 96 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.6286, allocations: 0 / 0.987 GB, free: 96 kB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001079/0.6287, allocations: 49.64 kB / 0.987 GB, free: 40 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.6288, allocations: 13.7 kB / 0.987 GB, free: 28 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.6288, allocations: 0 / 0.987 GB, free: 28 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.6288, allocations: 3.953 kB / 0.987 GB, free: 24 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.6288, allocations: 0 / 0.987 GB, free: 24 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.6288, allocations: 0 / 0.987 GB, free: 24 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.001e-05/0.6288, allocations: 4 kB / 0.987 GB, free: 20 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/0.6289, allocations: 0 / 0.987 GB, free: 20 kB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001146/0.629, allocations: 185.2 kB / 0.9872 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.874e-05/0.629, allocations: 116.8 kB / 0.9873 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.085e-05/0.6291, allocations: 112.8 kB / 0.9874 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-05/0.6291, allocations: 180.2 kB / 0.9876 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.514e-05/0.6292, allocations: 184.2 kB / 0.9878 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.78e-05/0.6293, allocations: 176.3 kB / 0.9879 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.6295, allocations: 421.1 kB / 0.9883 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.179e-05/0.6295, allocations: 101 kB / 0.9884 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.12e-05/0.6295, allocations: 112.9 kB / 0.9885 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.014e-05/0.6296, allocations: 180.3 kB / 0.9887 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.306e-05/0.6297, allocations: 180.3 kB / 0.9889 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.965e-05/0.6297, allocations: 180.2 kB / 0.9891 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.095e-05/0.6298, allocations: 188.5 kB / 0.9892 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.6299, allocations: 319.6 kB / 0.9895 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.087e-05/0.63, allocations: 182.1 kB / 0.9897 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.148e-05/0.63, allocations: 188.2 kB / 0.9899 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.613e-05/0.6301, allocations: 105 kB / 0.99 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.229e-05/0.6302, allocations: 180.2 kB / 0.9902 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.897e-05/0.6302, allocations: 105 kB / 0.9903 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 5.965e-05/0.6303, allocations: 111.1 kB / 0.9904 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6303, allocations: 0 / 0.9904 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002577/0.6305, allocations: 31.94 kB / 0.9904 GB, free: 12.34 MB / 0.7481 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 (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.0004676/0.631, allocations: 0.8486 MB / 0.9912 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 8.521e-05/0.6311, allocations: 37.7 kB / 0.9913 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.6311, allocations: 0 / 0.9913 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.433e-06/0.6311, allocations: 0 / 0.9913 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004265/0.6316, allocations: 0.5324 MB / 0.9918 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006969/0.6323, allocations: 0.575 MB / 0.9924 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002031/0.6325, allocations: 0.6848 MB / 0.993 GB, free: 9.547 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 1.92e-05/0.6325, allocations: 4.188 kB / 0.993 GB, free: 9.543 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.944e-05/0.6325, allocations: 15.44 kB / 0.993 GB, free: 9.527 MB / 0.7481 GB Notification: Performance of SimCode: time 3.01e-07/0.6325, allocations: 0 / 0.993 GB, free: 9.527 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01151/0.6441, allocations: 2.473 MB / 0.9955 GB, free: 7.27 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001627/0.6443, allocations: 234.5 kB / 0.9957 GB, free: 7.023 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.745/2.389, allocations: 0 / 0.9957 GB, free: 7.023 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat does not exist to compare? outputFormat=mat