Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",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.006631/0.006631, allocations: 108.9 kB / 15.74 MB, free: 6.441 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.001638/0.001638, allocations: 191.7 kB / 16.67 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.194/2.194, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 61.66 kB / 0.9504 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2239, allocations: 140.4 MB / 1.087 GB, free: 2.121 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.002457/0.2264, allocations: 1.57 MB / 1.089 GB, free: 0.5391 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.2277, allocations: 0.9165 MB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.916e-05/0.2279, allocations: 11.94 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002515/0.2281, allocations: 55.7 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000443/0.2286, allocations: 143.3 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.987e-05/0.2286, allocations: 15.97 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003741/0.229, allocations: 368.3 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.331e-05/0.2291, allocations: 48.73 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002055/0.2293, allocations: 151.3 kB / 1.091 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001899/0.2295, allocations: 131.3 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.689e-05/0.2296, allocations: 16 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.872e-05/0.2296, allocations: 19.94 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.382e-05/0.2297, allocations: 51.75 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001344/0.2298, allocations: 135.2 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.2301, allocations: 274.7 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2301, allocations: 0 / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2301, allocations: 3.938 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.2301, allocations: 4 kB / 1.091 GB, free: 14.21 MB / 0.8575 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.001041/0.2312, allocations: 0.6301 MB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.2312, allocations: 12.03 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.369e-05/0.2312, allocations: 30.75 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.157e-05/0.2313, allocations: 32.56 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004817/0.2318, allocations: 394.2 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.185e-06/0.2318, allocations: 384 / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.2318, allocations: 384 / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.232, allocations: 109.1 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.232, allocations: 4 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.232, allocations: 4 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.232, allocations: 0 / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.2321, allocations: 67.88 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003524/0.2325, allocations: 348 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.2326, allocations: 114.4 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.246e-05/0.2327, allocations: 59.45 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.2327, allocations: 0 / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.2328, allocations: 50.44 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 9.81e-07/0.2328, allocations: 0 / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0003169/0.2331, allocations: 181.1 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/0.2332, allocations: 128.5 kB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005381/0.2337, allocations: 0.5171 MB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.2337, allocations: 25.7 kB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.951e-05/0.2338, allocations: 160.6 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.2339, allocations: 15.91 kB / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.334e-05/0.2339, allocations: 25.61 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.234, allocations: 338.8 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.389e-05/0.2341, allocations: 39.95 kB / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.883e-05/0.2341, allocations: 51.41 kB / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.2343, allocations: 107.3 kB / 1.095 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2343, allocations: 3.938 kB / 1.095 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002018/0.2345, allocations: 153 kB / 1.095 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.2345, allocations: 8 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.2345, allocations: 0 / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.2345, allocations: 128 / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.2347, allocations: 15.98 kB / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.2347, allocations: 3.938 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.2348, allocations: 12.08 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.2348, allocations: 3.984 kB / 1.095 GB, free: 10.29 MB / 0.8575 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 (4): * Single equations (assignments): 4 * 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.0001359/0.235, allocations: 177.7 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.008e-05/0.235, allocations: 43.53 kB / 1.095 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002989/0.2353, allocations: 187.7 kB / 1.095 GB, free: 9.871 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.2353, allocations: 0 / 1.095 GB, free: 9.871 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2354, allocations: 0 / 1.095 GB, free: 9.871 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.2354, allocations: 4 kB / 1.095 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002515/0.2356, allocations: 305.5 kB / 1.095 GB, free: 9.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2356, allocations: 0 / 1.095 GB, free: 9.52 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.202e-05/0.2357, allocations: 19.88 kB / 1.095 GB, free: 9.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.2357, allocations: 7.984 kB / 1.095 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.2358, allocations: 4 kB / 1.095 GB, free: 9.488 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.2358, allocations: 0 / 1.095 GB, free: 9.488 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.2358, allocations: 8.125 kB / 1.095 GB, free: 9.48 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002207/0.236, allocations: 191.2 kB / 1.096 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/0.2362, allocations: 136.6 kB / 1.096 GB, free: 9.113 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.329e-05/0.2362, allocations: 7.938 kB / 1.096 GB, free: 9.105 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.2364, allocations: 19.98 kB / 1.096 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.884e-05/0.2364, allocations: 4 kB / 1.096 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.2364, allocations: 4 kB / 1.096 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004169/0.2368, allocations: 395 kB / 1.096 GB, free: 8.691 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2368, allocations: 0 / 1.096 GB, free: 8.691 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002513/0.2371, allocations: 40 kB / 1.096 GB, free: 8.652 MB / 0.8575 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 (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.0004296/0.2375, allocations: 0.7244 MB / 1.097 GB, free: 7.891 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001656/0.2377, allocations: 91.84 kB / 1.097 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.2377, allocations: 4 kB / 1.097 GB, free: 7.797 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.259e-05/0.2378, allocations: 48.34 kB / 1.097 GB, free: 7.75 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/0.2381, allocations: 65.39 kB / 1.097 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003365/0.2415, allocations: 3.176 MB / 1.1 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.2418, allocations: 0.8143 MB / 1.101 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001325/0.242, allocations: 54.25 kB / 1.101 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.2421, allocations: 79.41 kB / 1.101 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of SimCode: time 4.31e-07/0.2421, allocations: 0 / 1.101 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.281/1.523, allocations: 6.65 MB / 1.108 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/12.75, allocations: 20.97 kB / 1.108 GB, free: 12.95 MB / 0.8731 GB (rm -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.fmu > Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1)