Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.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.CorrectedNFactors,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",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.0008692/0.0008691, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005031/0.005031, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.203/1.203, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.269/2.269, allocations: 437.8 MB / 0.7121 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002794/0.0002794, allocations: 8 kB / 0.8729 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4877/0.488, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.001467/0.4895, allocations: 1.299 MB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001174/0.4907, allocations: 0.8997 MB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.219e-05/0.4908, allocations: 7.938 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002069/0.491, allocations: 63.7 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003601/0.4914, allocations: 131.5 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 2.623e-05/0.4914, allocations: 3.984 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003235/0.4917, allocations: 354.3 kB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.267e-05/0.4918, allocations: 48.72 kB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001768/0.492, allocations: 131.3 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/0.4922, allocations: 135.3 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.684e-05/0.4922, allocations: 12 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003162/0.4954, allocations: 0.6602 MB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.641e-05/0.4954, allocations: 43.77 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.4956, allocations: 152.9 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01322/0.5088, allocations: 13.3 MB / 1.04 GB, free: 14.51 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.716e-06/0.5088, allocations: 0 / 1.04 GB, free: 14.51 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5088, allocations: 0 / 1.04 GB, free: 14.51 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.5088, allocations: 0 / 1.04 GB, free: 14.51 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.001107/0.51, allocations: 0.5994 MB / 1.041 GB, free: 13.86 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.51, allocations: 8.031 kB / 1.041 GB, free: 13.86 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.701e-05/0.51, allocations: 34.73 kB / 1.041 GB, free: 13.81 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.587e-05/0.5101, allocations: 32.56 kB / 1.041 GB, free: 13.78 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004047/0.5105, allocations: 374.2 kB / 1.041 GB, free: 13.38 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.5105, allocations: 12.38 kB / 1.041 GB, free: 13.36 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.5106, allocations: 4.375 kB / 1.041 GB, free: 13.36 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.5107, allocations: 101.1 kB / 1.041 GB, free: 13.24 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.959e-06/0.5107, allocations: 0 / 1.041 GB, free: 13.24 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.5107, allocations: 4 kB / 1.041 GB, free: 13.24 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.5107, allocations: 0 / 1.041 GB, free: 13.24 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.734e-05/0.5108, allocations: 67.86 kB / 1.041 GB, free: 13.17 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003258/0.5112, allocations: 352.1 kB / 1.041 GB, free: 12.77 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.5113, allocations: 110.3 kB / 1.042 GB, free: 12.62 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.806e-05/0.5113, allocations: 63.45 kB / 1.042 GB, free: 12.55 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.5114, allocations: 7.938 kB / 1.042 GB, free: 12.54 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.5114, allocations: 34.5 kB / 1.042 GB, free: 12.5 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.5114, allocations: 0 / 1.042 GB, free: 12.5 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0002974/0.5117, allocations: 189.3 kB / 1.042 GB, free: 12.31 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.661e-05/0.5118, allocations: 136.5 kB / 1.042 GB, free: 12.14 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005162/0.5123, allocations: 0.5014 MB / 1.042 GB, free: 11.64 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.5123, allocations: 25.7 kB / 1.042 GB, free: 11.61 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.5124, allocations: 164.3 kB / 1.043 GB, free: 11.44 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.5125, allocations: 11.91 kB / 1.043 GB, free: 11.43 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.712e-05/0.5125, allocations: 25.7 kB / 1.043 GB, free: 11.39 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.5126, allocations: 343.1 kB / 1.043 GB, free: 11.05 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.5128, allocations: 123.8 kB / 1.043 GB, free: 10.93 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001834/0.513, allocations: 182.7 kB / 1.043 GB, free: 10.73 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002988/0.5133, allocations: 263.3 kB / 1.044 GB, free: 10.46 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.5133, allocations: 0 / 1.044 GB, free: 10.46 MB / 0.795 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004081/0.5137, allocations: 336.9 kB / 1.044 GB, free: 10.12 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.5137, allocations: 14.17 kB / 1.044 GB, free: 10.11 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.5137, allocations: 0 / 1.044 GB, free: 10.11 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.757e-06/0.5137, allocations: 0 / 1.044 GB, free: 10.11 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.5138, allocations: 19.98 kB / 1.044 GB, free: 10.09 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.5138, allocations: 0 / 1.044 GB, free: 10.09 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/0.514, allocations: 23.83 kB / 1.044 GB, free: 10.07 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.514, allocations: 4 kB / 1.044 GB, free: 10.06 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.00015/0.5142, allocations: 189.6 kB / 1.044 GB, free: 9.867 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.106e-05/0.5142, allocations: 39.47 kB / 1.044 GB, free: 9.828 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002807/0.5145, allocations: 180 kB / 1.044 GB, free: 9.645 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.5145, allocations: 3.938 kB / 1.044 GB, free: 9.641 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.5145, allocations: 7.969 kB / 1.044 GB, free: 9.633 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.5146, allocations: 4 kB / 1.044 GB, free: 9.629 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002273/0.5148, allocations: 293.5 kB / 1.045 GB, free: 9.293 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.5148, allocations: 0 / 1.045 GB, free: 9.293 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.924e-05/0.5149, allocations: 15.94 kB / 1.045 GB, free: 9.277 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.5149, allocations: 0 / 1.045 GB, free: 9.277 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.5149, allocations: 7.984 kB / 1.045 GB, free: 9.27 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.5149, allocations: 0 / 1.045 GB, free: 9.27 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5149, allocations: 0 / 1.045 GB, free: 9.27 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002105/0.5151, allocations: 195.2 kB / 1.045 GB, free: 9.051 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.5153, allocations: 140.5 kB / 1.045 GB, free: 8.895 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.807e-05/0.5153, allocations: 4 kB / 1.045 GB, free: 8.891 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.5154, allocations: 11.98 kB / 1.045 GB, free: 8.879 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.792e-05/0.5155, allocations: 4 kB / 1.045 GB, free: 8.875 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.5155, allocations: 4 kB / 1.045 GB, free: 8.871 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003809/0.5159, allocations: 379 kB / 1.045 GB, free: 8.5 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5159, allocations: 4 kB / 1.045 GB, free: 8.496 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004109/0.5163, allocations: 100 kB / 1.045 GB, free: 8.398 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.00473/0.521, allocations: 3.434 MB / 1.049 GB, free: 4.922 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002901/0.5213, allocations: 195.8 kB / 1.049 GB, free: 4.73 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.5213, allocations: 0 / 1.049 GB, free: 4.73 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 6.197e-05/0.5214, allocations: 51.84 kB / 1.049 GB, free: 4.68 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.5217, allocations: 46.09 kB / 1.049 GB, free: 4.637 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003934/0.5257, allocations: 3.699 MB / 1.053 GB, free: 0.8203 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.526, allocations: 0.8185 MB / 1.054 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001148/0.5262, allocations: 50.3 kB / 1.054 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.5263, allocations: 75.41 kB / 1.054 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.5263, allocations: 0 / 1.054 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02011/0.5464, allocations: 10.52 MB / 1.064 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002149/0.5466, allocations: 233.5 kB / 1.064 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.896/2.443, allocations: 2.031 kB / 1.064 GB, free: 5.293 MB / 0.8106 GB (rm -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.fmu > Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1)