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.00141/0.00141, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001525/0.001525, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.249/1.249, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.397/2.397, allocations: 437 MB / 0.71 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 63.91 kB / 0.8686 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5181/0.5194, allocations: 151.6 MB / 1.017 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002377/0.5218, allocations: 1.63 MB / 1.018 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001091/0.5229, allocations: 0.9151 MB / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.416e-05/0.523, allocations: 0 / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0002204/0.5233, allocations: 71.7 kB / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0003343/0.5236, allocations: 139.5 kB / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 2.559e-05/0.5236, allocations: 4 kB / 1.019 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0003171/0.524, allocations: 350.3 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.574e-05/0.524, allocations: 56.7 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/0.5242, allocations: 119.4 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.5244, allocations: 147.2 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.731e-05/0.5244, allocations: 8 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003113/0.5275, allocations: 0.6641 MB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.477e-05/0.5276, allocations: 39.78 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.5277, allocations: 131.2 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01381/0.5415, allocations: 13.29 MB / 1.034 GB, free: 1.18 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.5415, allocations: 0 / 1.034 GB, free: 1.18 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.02e-07/0.5415, allocations: 0 / 1.034 GB, free: 1.18 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.5415, allocations: 0 / 1.034 GB, free: 1.18 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.001205/0.5427, allocations: 0.6537 MB / 1.034 GB, free: 488 kB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.5428, allocations: 8.031 kB / 1.034 GB, free: 480 kB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.019e-05/0.5428, allocations: 38.69 kB / 1.035 GB, free: 432 kB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.66e-05/0.5429, allocations: 28.56 kB / 1.035 GB, free: 404 kB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004078/0.5433, allocations: 378.3 kB / 1.035 GB, free: 15.98 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.5433, allocations: 4.375 kB / 1.035 GB, free: 15.98 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.5433, allocations: 8.375 kB / 1.035 GB, free: 15.97 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.5435, allocations: 105.2 kB / 1.035 GB, free: 15.85 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.5435, allocations: 3.938 kB / 1.035 GB, free: 15.84 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.5435, allocations: 0 / 1.035 GB, free: 15.84 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.5435, allocations: 0 / 1.035 GB, free: 15.84 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.197e-05/0.5436, allocations: 63.92 kB / 1.035 GB, free: 15.78 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00032/0.5439, allocations: 356 kB / 1.035 GB, free: 15.38 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.5441, allocations: 106.4 kB / 1.036 GB, free: 15.23 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.928e-05/0.5441, allocations: 63.47 kB / 1.036 GB, free: 15.16 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.5442, allocations: 0 / 1.036 GB, free: 15.16 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.5442, allocations: 46.42 kB / 1.036 GB, free: 15.11 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.5442, allocations: 0 / 1.036 GB, free: 15.11 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.000304/0.5445, allocations: 181.6 kB / 1.036 GB, free: 14.92 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.5446, allocations: 136.5 kB / 1.036 GB, free: 14.76 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005076/0.5451, allocations: 0.5013 MB / 1.036 GB, free: 14.25 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.5451, allocations: 33.7 kB / 1.036 GB, free: 14.21 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 9.972e-05/0.5452, allocations: 156.3 kB / 1.037 GB, free: 14.06 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.256e-05/0.5452, allocations: 11.81 kB / 1.037 GB, free: 14.05 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.257e-05/0.5453, allocations: 49.59 kB / 1.037 GB, free: 13.99 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.5454, allocations: 354.7 kB / 1.037 GB, free: 13.64 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.5456, allocations: 115.9 kB / 1.037 GB, free: 13.52 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001832/0.5458, allocations: 178.8 kB / 1.037 GB, free: 13.32 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003053/0.5461, allocations: 271.2 kB / 1.038 GB, free: 13.05 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.5461, allocations: 0 / 1.038 GB, free: 13.05 MB / 0.795 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004104/0.5465, allocations: 329 kB / 1.038 GB, free: 12.72 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.5465, allocations: 14.28 kB / 1.038 GB, free: 12.71 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.5466, allocations: 0 / 1.038 GB, free: 12.71 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.5466, allocations: 4 kB / 1.038 GB, free: 12.7 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.5467, allocations: 19.98 kB / 1.038 GB, free: 12.68 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.5467, allocations: 0 / 1.038 GB, free: 12.68 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.5469, allocations: 27.73 kB / 1.038 GB, free: 12.66 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.5469, allocations: 11.98 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.0001377/0.547, allocations: 173.7 kB / 1.038 GB, free: 12.46 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.424e-05/0.5471, allocations: 39.55 kB / 1.038 GB, free: 12.43 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002741/0.5474, allocations: 179.8 kB / 1.038 GB, free: 12.24 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.5474, allocations: 0 / 1.038 GB, free: 12.24 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.5474, allocations: 4 kB / 1.038 GB, free: 12.24 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.5474, allocations: 0 / 1.038 GB, free: 12.24 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002255/0.5476, allocations: 293.4 kB / 1.039 GB, free: 11.9 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.5476, allocations: 0 / 1.039 GB, free: 11.9 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.763e-05/0.5477, allocations: 27.98 kB / 1.039 GB, free: 11.88 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.5477, allocations: 4 kB / 1.039 GB, free: 11.87 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.5478, allocations: 0 / 1.039 GB, free: 11.87 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.5478, allocations: 0 / 1.039 GB, free: 11.87 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5478, allocations: 4 kB / 1.039 GB, free: 11.87 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/0.548, allocations: 191.2 kB / 1.039 GB, free: 11.65 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.5481, allocations: 144.5 kB / 1.039 GB, free: 11.49 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.135e-05/0.5481, allocations: 0 / 1.039 GB, free: 11.49 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.5483, allocations: 15.98 kB / 1.039 GB, free: 11.48 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.062e-05/0.5483, allocations: 3.984 kB / 1.039 GB, free: 11.47 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-06/0.5483, allocations: 4 kB / 1.039 GB, free: 11.47 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003669/0.5487, allocations: 375.1 kB / 1.039 GB, free: 11.1 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5487, allocations: 0 / 1.039 GB, free: 11.1 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004062/0.5491, allocations: 104 kB / 1.039 GB, free: 11 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.004535/0.5537, allocations: 3.442 MB / 1.043 GB, free: 7.516 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002994/0.554, allocations: 192.1 kB / 1.043 GB, free: 7.328 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.554, allocations: 3.938 kB / 1.043 GB, free: 7.324 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 6.316e-05/0.554, allocations: 47.91 kB / 1.043 GB, free: 7.277 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.5544, allocations: 60.86 kB / 1.043 GB, free: 7.223 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003902/0.5583, allocations: 3.69 MB / 1.047 GB, free: 3.414 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.5586, allocations: 0.8146 MB / 1.047 GB, free: 2.574 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001118/0.5587, allocations: 45.92 kB / 1.048 GB, free: 2.531 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.5588, allocations: 79.41 kB / 1.048 GB, free: 2.453 MB / 0.795 GB Notification: Performance of SimCode: time 2.1e-07/0.5588, allocations: 0 / 1.048 GB, free: 2.453 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01907/0.5779, allocations: 10.66 MB / 1.058 GB, free: 7.984 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002162/0.5781, allocations: 226.1 kB / 1.058 GB, free: 7.73 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.961/2.539, allocations: 0 / 1.058 GB, free: 7.73 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)