Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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: translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007254/0.0007254, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0008499/0.00085, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.342/1.342, allocations: 205.4 MB / 222.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.579/1.579, allocations: 292.7 MB / 0.5499 GB, free: 14.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004676/0.0004676, allocations: 17.44 kB / 0.6737 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2176, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.001561/0.2192, allocations: 1.271 MB / 0.7885 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001218/0.2204, allocations: 0.8779 MB / 0.7894 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.245e-05/0.2205, allocations: 4 kB / 0.7894 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002389/0.2208, allocations: 55.73 kB / 0.7894 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004358/0.2212, allocations: 119.5 kB / 0.7895 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 2.932e-05/0.2213, allocations: 0 / 0.7895 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003348/0.2216, allocations: 318.4 kB / 0.7898 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.356e-05/0.2217, allocations: 48.72 kB / 0.7899 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002108/0.2219, allocations: 127.4 kB / 0.79 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001902/0.2221, allocations: 139.4 kB / 0.7901 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.877e-05/0.2222, allocations: 12 kB / 0.7902 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002915/0.2251, allocations: 491.2 kB / 0.7906 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.485e-05/0.2252, allocations: 47.75 kB / 0.7907 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.038e-05/0.2252, allocations: 77.52 kB / 0.7907 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000456/0.2257, allocations: 435.4 kB / 0.7912 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2257, allocations: 4 kB / 0.7912 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2257, allocations: 0 / 0.7912 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.2257, allocations: 0 / 0.7912 GB, free: 7.914 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.001132/0.2269, allocations: 0.6108 MB / 0.7918 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.2269, allocations: 12.03 kB / 0.7918 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.746e-05/0.227, allocations: 27.62 kB / 0.7918 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003998/0.2274, allocations: 361.3 kB / 0.7921 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.2274, allocations: 4 kB / 0.7921 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.2275, allocations: 8 kB / 0.7921 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.2276, allocations: 97.02 kB / 0.7922 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.2276, allocations: 0 / 0.7922 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.2276, allocations: 0 / 0.7922 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.2276, allocations: 0 / 0.7922 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.98e-05/0.2277, allocations: 67.86 kB / 0.7923 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003553/0.2281, allocations: 356 kB / 0.7926 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.2282, allocations: 110.3 kB / 0.7928 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.614e-05/0.2283, allocations: 67.45 kB / 0.7928 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.2283, allocations: 7.922 kB / 0.7928 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.2284, allocations: 34.56 kB / 0.7929 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.2284, allocations: 4 kB / 0.7929 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.000309/0.2287, allocations: 185.2 kB / 0.793 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/0.2287, allocations: 132.5 kB / 0.7932 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005149/0.2293, allocations: 0.5014 MB / 0.7937 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.2293, allocations: 25.7 kB / 0.7937 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.2294, allocations: 156.3 kB / 0.7938 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.2294, allocations: 11.84 kB / 0.7938 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.356e-06/0.2294, allocations: 4 kB / 0.7938 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.2296, allocations: 351.1 kB / 0.7942 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.2297, allocations: 115.9 kB / 0.7943 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001809/0.2299, allocations: 186.7 kB / 0.7945 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.2301, allocations: 119.9 kB / 0.7946 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2301, allocations: 0 / 0.7946 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003917/0.2305, allocations: 333.1 kB / 0.7949 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.2305, allocations: 4 kB / 0.7949 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.2305, allocations: 7.984 kB / 0.7949 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.2305, allocations: 0 / 0.7949 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.2307, allocations: 19.92 kB / 0.7949 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.2307, allocations: 4 kB / 0.7949 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.2308, allocations: 23.77 kB / 0.795 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.2309, allocations: 4 kB / 0.795 GB, free: 3.699 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001572/0.231, allocations: 190.4 kB / 0.7951 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.45e-05/0.2311, allocations: 31.53 kB / 0.7952 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002874/0.2314, allocations: 187.8 kB / 0.7953 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.2314, allocations: 4 kB / 0.7954 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.2314, allocations: 0 / 0.7954 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.2314, allocations: 3.984 kB / 0.7954 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002401/0.2316, allocations: 297.6 kB / 0.7956 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2316, allocations: 7.938 kB / 0.7956 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.466e-05/0.2317, allocations: 11.94 kB / 0.7957 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.2318, allocations: 4 kB / 0.7957 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.2318, allocations: 0 / 0.7957 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.2318, allocations: 7.984 kB / 0.7957 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2318, allocations: 0 / 0.7957 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002178/0.232, allocations: 187.2 kB / 0.7958 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.2321, allocations: 136.6 kB / 0.796 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.669e-05/0.2322, allocations: 7.984 kB / 0.796 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.2323, allocations: 11.98 kB / 0.796 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.781e-05/0.2323, allocations: 4 kB / 0.796 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.2323, allocations: 4 kB / 0.796 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003841/0.2327, allocations: 375 kB / 0.7964 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2327, allocations: 4 kB / 0.7964 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003717/0.2331, allocations: 103.9 kB / 0.7965 GB, free: 2.043 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 8 * 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.0003465/0.2335, allocations: 127.2 kB / 0.7966 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003325/0.2338, allocations: 191.8 kB / 0.7968 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.2338, allocations: 4 kB / 0.7968 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.502e-05/0.2339, allocations: 51.91 kB / 0.7968 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.2342, allocations: 59.86 kB / 0.7969 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008878/0.2351, allocations: 0.6607 MB / 0.7975 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.2355, allocations: 0.8184 MB / 0.7983 GB, free: 76 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001235/0.2356, allocations: 50.28 kB / 0.7984 GB, free: 24 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.985e-05/0.2357, allocations: 23.38 kB / 0.7984 GB, free: 0 / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2357, allocations: 0 / 0.7984 GB, free: 0 / 0.6075 GB Notification: Performance of Templates: time 0.01003/0.2457, allocations: 6.423 MB / 0.8047 GB, free: 9.621 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.sim & ./Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1) Environment - environmentSimulation: