Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature,fileNamePrefix="Buildings_10_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.001277/0.001277, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001271/0.001271, allocations: 193.2 kB / 16.14 MB, free: 6.652 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.266/1.266, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.391/2.391, allocations: 437 MB / 0.7099 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 67.88 kB / 0.8686 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5188/0.5201, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature): time 0.00232/0.5225, allocations: 1.646 MB / 1.018 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001103/0.5236, allocations: 0.9074 MB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.967e-05/0.5236, allocations: 7.938 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0002122/0.5239, allocations: 55.78 kB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0003434/0.5242, allocations: 131.5 kB / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.032e-05/0.5243, allocations: 15.92 kB / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0003275/0.5246, allocations: 362.3 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.895e-05/0.5247, allocations: 48.73 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/0.5248, allocations: 123.4 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.525, allocations: 135.3 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.893e-05/0.525, allocations: 12 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003073/0.5281, allocations: 0.6603 MB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.48e-05/0.5282, allocations: 51.69 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.5283, allocations: 123.3 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01461/0.5429, allocations: 13.29 MB / 1.034 GB, free: 1.164 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.543, allocations: 0 / 1.034 GB, free: 1.164 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.92e-07/0.543, allocations: 4 kB / 1.034 GB, free: 1.16 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.543, allocations: 0 / 1.034 GB, free: 1.16 MB / 0.7794 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.001236/0.5442, allocations: 0.6498 MB / 1.034 GB, free: 472 kB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.5443, allocations: 8.031 kB / 1.034 GB, free: 464 kB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.355e-05/0.5443, allocations: 38.73 kB / 1.035 GB, free: 416 kB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.099e-05/0.5444, allocations: 36.56 kB / 1.035 GB, free: 380 kB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000416/0.5448, allocations: 370.4 kB / 1.035 GB, free: 15.96 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.5448, allocations: 8.312 kB / 1.035 GB, free: 15.96 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.5448, allocations: 8.359 kB / 1.035 GB, free: 15.95 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.545, allocations: 97.2 kB / 1.035 GB, free: 15.84 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.545, allocations: 4 kB / 1.035 GB, free: 15.83 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.545, allocations: 3.828 kB / 1.035 GB, free: 15.83 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.545, allocations: 4 kB / 1.035 GB, free: 15.83 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.383e-05/0.5451, allocations: 67.86 kB / 1.035 GB, free: 15.76 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003208/0.5454, allocations: 348 kB / 1.035 GB, free: 15.36 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.5456, allocations: 110.3 kB / 1.036 GB, free: 15.22 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.571e-05/0.5456, allocations: 59.45 kB / 1.036 GB, free: 15.15 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.5457, allocations: 4 kB / 1.036 GB, free: 15.14 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.5457, allocations: 38.5 kB / 1.036 GB, free: 15.1 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.5457, allocations: 4 kB / 1.036 GB, free: 15.09 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0003091/0.546, allocations: 181.1 kB / 1.036 GB, free: 14.91 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.5461, allocations: 136.5 kB / 1.036 GB, free: 14.75 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005035/0.5466, allocations: 0.5014 MB / 1.036 GB, free: 14.24 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.5466, allocations: 29.7 kB / 1.036 GB, free: 14.2 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 9.994e-05/0.5467, allocations: 156.9 kB / 1.037 GB, free: 14.05 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.5467, allocations: 15.78 kB / 1.037 GB, free: 14.03 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.412e-05/0.5468, allocations: 57.59 kB / 1.037 GB, free: 13.97 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.5469, allocations: 342.8 kB / 1.037 GB, free: 13.62 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001461/0.5471, allocations: 115.9 kB / 1.037 GB, free: 13.51 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001942/0.5473, allocations: 180.1 kB / 1.037 GB, free: 13.31 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003037/0.5476, allocations: 267.2 kB / 1.038 GB, free: 13.04 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.5476, allocations: 3.938 kB / 1.038 GB, free: 13.04 MB / 0.795 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000406/0.548, allocations: 325.1 kB / 1.038 GB, free: 12.71 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.548, allocations: 8 kB / 1.038 GB, free: 12.7 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.548, allocations: 0 / 1.038 GB, free: 12.7 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.5481, allocations: 3.984 kB / 1.038 GB, free: 12.7 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.5482, allocations: 23.92 kB / 1.038 GB, free: 12.68 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.5482, allocations: 3.938 kB / 1.038 GB, free: 12.67 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/0.5484, allocations: 27.73 kB / 1.038 GB, free: 12.64 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.5484, allocations: 8 kB / 1.038 GB, free: 12.64 MB / 0.795 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.0001403/0.5485, allocations: 181.7 kB / 1.038 GB, free: 12.45 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.288e-05/0.5486, allocations: 31.56 kB / 1.038 GB, free: 12.42 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002888/0.5489, allocations: 179.8 kB / 1.038 GB, free: 12.23 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.5489, allocations: 4.125 kB / 1.038 GB, free: 12.23 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.5489, allocations: 4 kB / 1.038 GB, free: 12.23 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.5489, allocations: 3.984 kB / 1.038 GB, free: 12.22 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.5492, allocations: 293.4 kB / 1.039 GB, free: 11.89 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.5492, allocations: 4 kB / 1.039 GB, free: 11.88 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.632e-05/0.5493, allocations: 15.94 kB / 1.039 GB, free: 11.87 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.5493, allocations: 240 / 1.039 GB, free: 11.87 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.5493, allocations: 8 kB / 1.039 GB, free: 11.86 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.5493, allocations: 7.922 kB / 1.039 GB, free: 11.85 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5493, allocations: 0 / 1.039 GB, free: 11.85 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.5495, allocations: 191.3 kB / 1.039 GB, free: 11.64 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.5496, allocations: 140.5 kB / 1.039 GB, free: 11.48 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.792e-05/0.5497, allocations: 4 kB / 1.039 GB, free: 11.48 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.5498, allocations: 11.97 kB / 1.039 GB, free: 11.46 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.174e-05/0.5499, allocations: 11.94 kB / 1.039 GB, free: 11.45 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.5499, allocations: 4 kB / 1.039 GB, free: 11.45 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003757/0.5503, allocations: 383 kB / 1.039 GB, free: 11.07 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5503, allocations: 0 / 1.039 GB, free: 11.07 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000414/0.5507, allocations: 96 kB / 1.039 GB, free: 10.98 MB / 0.795 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.004667/0.5554, allocations: 3.438 MB / 1.043 GB, free: 7.5 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003121/0.5557, allocations: 191.8 kB / 1.043 GB, free: 7.312 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.5557, allocations: 0 / 1.043 GB, free: 7.312 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 6.771e-05/0.5558, allocations: 51.89 kB / 1.043 GB, free: 7.262 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003191/0.5561, allocations: 50.67 kB / 1.043 GB, free: 7.215 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00397/0.5601, allocations: 3.69 MB / 1.047 GB, free: 3.406 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.5604, allocations: 0.8145 MB / 1.047 GB, free: 2.566 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001101/0.5605, allocations: 38.31 kB / 1.047 GB, free: 2.531 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.5606, allocations: 79.41 kB / 1.048 GB, free: 2.453 MB / 0.795 GB Notification: Performance of SimCode: time 2.21e-07/0.5606, allocations: 0 / 1.048 GB, free: 2.453 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.019/0.5796, allocations: 10.67 MB / 1.058 GB, free: 7.977 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002188/0.5799, allocations: 248 kB / 1.058 GB, free: 7.715 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.957/2.536, allocations: 0 / 1.058 GB, free: 7.715 MB / 0.8106 GB (rm -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_GroundTemperature_Examples_UndisturbedSoilTemperature.fmu > Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.UndisturbedSoilTemperature.pipe 2>&1)