Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_latest_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.0008594/0.0008595, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004958/0.004958, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.181/1.181, allocations: 223.3 MB / 240.3 MB, free: 5.371 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.264/2.264, allocations: 443.3 MB / 0.7176 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000285/0.0002851, allocations: 9.562 kB / 0.8797 GB, free: 42.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2267, allocations: 155.2 MB / 1.031 GB, free: 4.402 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.001407/0.2282, allocations: 1.29 MB / 1.032 GB, free: 3.102 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001053/0.2292, allocations: 0.9001 MB / 1.033 GB, free: 2.195 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.371e-05/0.2293, allocations: 7.938 kB / 1.033 GB, free: 2.188 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002037/0.2295, allocations: 55.78 kB / 1.033 GB, free: 2.133 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003341/0.2298, allocations: 143.5 kB / 1.034 GB, free: 1.992 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 2.825e-05/0.2299, allocations: 8 kB / 1.034 GB, free: 1.984 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003138/0.2302, allocations: 362.2 kB / 1.034 GB, free: 1.629 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.477e-05/0.2303, allocations: 44.73 kB / 1.034 GB, free: 1.578 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001541/0.2304, allocations: 119.4 kB / 1.034 GB, free: 1.461 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.2306, allocations: 131.4 kB / 1.034 GB, free: 1.332 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.495e-05/0.2306, allocations: 23.88 kB / 1.034 GB, free: 1.309 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003056/0.2337, allocations: 0.6564 MB / 1.035 GB, free: 0.6367 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.379e-05/0.2338, allocations: 43.77 kB / 1.035 GB, free: 0.5938 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.2339, allocations: 156.9 kB / 1.035 GB, free: 444 kB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01204/0.2459, allocations: 13.28 MB / 1.048 GB, free: 3.098 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.246, allocations: 0 / 1.048 GB, free: 3.098 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.843e-06/0.246, allocations: 0 / 1.048 GB, free: 3.098 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.246, allocations: 0 / 1.048 GB, free: 3.098 MB / 0.795 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.00112/0.2471, allocations: 0.6111 MB / 1.049 GB, free: 2.438 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.2472, allocations: 8.031 kB / 1.049 GB, free: 2.43 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.217e-05/0.2472, allocations: 30.75 kB / 1.049 GB, free: 2.391 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.438e-05/0.2473, allocations: 32.56 kB / 1.049 GB, free: 2.359 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003968/0.2477, allocations: 370.3 kB / 1.049 GB, free: 1.961 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.2477, allocations: 8.375 kB / 1.049 GB, free: 1.953 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.2477, allocations: 4.375 kB / 1.049 GB, free: 1.949 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.2478, allocations: 105.1 kB / 1.049 GB, free: 1.828 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.57e-06/0.2479, allocations: 0 / 1.049 GB, free: 1.828 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.2479, allocations: 8 kB / 1.049 GB, free: 1.82 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.2479, allocations: 3.938 kB / 1.049 GB, free: 1.816 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.924e-05/0.248, allocations: 67.86 kB / 1.049 GB, free: 1.75 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003165/0.2483, allocations: 352.1 kB / 1.05 GB, free: 1.348 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.2484, allocations: 106.4 kB / 1.05 GB, free: 1.207 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.355e-05/0.2485, allocations: 67.39 kB / 1.05 GB, free: 1.129 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.2485, allocations: 8 kB / 1.05 GB, free: 1.121 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.2485, allocations: 38.44 kB / 1.05 GB, free: 1.074 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.2485, allocations: 0 / 1.05 GB, free: 1.074 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0002843/0.2488, allocations: 189 kB / 1.05 GB, free: 0.8828 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/0.2489, allocations: 137 kB / 1.05 GB, free: 0.7188 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004942/0.2494, allocations: 0.4975 MB / 1.051 GB, free: 216 kB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.2494, allocations: 29.7 kB / 1.051 GB, free: 180 kB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.2495, allocations: 156.3 kB / 1.051 GB, free: 16 kB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.396e-05/0.2496, allocations: 19.88 kB / 1.051 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.49e-05/0.2496, allocations: 21.72 kB / 1.051 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.2497, allocations: 346.8 kB / 1.051 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.2499, allocations: 119.8 kB / 1.051 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/0.2501, allocations: 184.5 kB / 1.051 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002934/0.2504, allocations: 267.2 kB / 1.052 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2504, allocations: 0 / 1.052 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000383/0.2507, allocations: 321.1 kB / 1.052 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.2508, allocations: 8 kB / 1.052 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.2508, allocations: 0 / 1.052 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.2508, allocations: 4 kB / 1.052 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.2509, allocations: 23.98 kB / 1.052 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.2509, allocations: 3.938 kB / 1.052 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.2511, allocations: 27.72 kB / 1.052 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.2511, allocations: 4 kB / 1.052 GB, free: 14.63 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001399/0.2513, allocations: 187.2 kB / 1.052 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.159e-05/0.2513, allocations: 31.56 kB / 1.052 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002805/0.2516, allocations: 183.7 kB / 1.052 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.2516, allocations: 4 kB / 1.052 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.2516, allocations: 4 kB / 1.052 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.2516, allocations: 0 / 1.052 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002311/0.2519, allocations: 293.3 kB / 1.053 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2519, allocations: 3.938 kB / 1.053 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.256e-05/0.252, allocations: 23.92 kB / 1.053 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.252, allocations: 4.125 kB / 1.053 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.252, allocations: 4 kB / 1.053 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.252, allocations: 0 / 1.053 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.252, allocations: 3.938 kB / 1.053 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.2522, allocations: 187.2 kB / 1.053 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.2523, allocations: 148.5 kB / 1.053 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.78e-05/0.2524, allocations: 0 / 1.053 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.2525, allocations: 7.984 kB / 1.053 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.178e-05/0.2525, allocations: 11.98 kB / 1.053 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.2525, allocations: 4 kB / 1.053 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003626/0.2529, allocations: 383 kB / 1.053 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2529, allocations: 0 / 1.053 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004423/0.2534, allocations: 103.9 kB / 1.054 GB, free: 12.97 MB / 0.8106 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.004644/0.258, allocations: 3.431 MB / 1.057 GB, free: 9.5 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002858/0.2583, allocations: 191.7 kB / 1.057 GB, free: 9.312 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2583, allocations: 0 / 1.057 GB, free: 9.312 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.267e-05/0.2584, allocations: 47.95 kB / 1.057 GB, free: 9.266 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.2588, allocations: 55.62 kB / 1.057 GB, free: 9.211 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003827/0.2626, allocations: 3.691 MB / 1.061 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.2629, allocations: 0.8145 MB / 1.062 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.000112/0.263, allocations: 49.92 kB / 1.062 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.2631, allocations: 79.41 kB / 1.062 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of SimCode: time 3.21e-07/0.2631, allocations: 3.938 kB / 1.062 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07304/0.3362, allocations: 10.54 MB / 1.072 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001619/0.3364, allocations: 241.4 kB / 1.072 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.915/2.251, allocations: 4 kB / 1.072 GB, free: 9.879 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.fmu > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1)