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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.006035/0.006035, allocations: 101.7 kB / 15.73 MB, free: 6.445 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.001647/0.001647, allocations: 193 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.224/1.224, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.286/2.286, allocations: 437.1 MB / 0.7106 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001625, allocations: 75.88 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2335, allocations: 151.6 MB / 1.166 GB, free: 7.273 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002229/0.2358, allocations: 1.591 MB / 1.168 GB, free: 5.664 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.237, allocations: 0.919 MB / 1.169 GB, free: 4.738 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.273e-05/0.237, allocations: 0 / 1.169 GB, free: 4.738 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002019/0.2372, allocations: 63.66 kB / 1.169 GB, free: 4.676 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003544/0.2376, allocations: 135.3 kB / 1.169 GB, free: 4.543 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 3.2e-05/0.2376, allocations: 15.98 kB / 1.169 GB, free: 4.527 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003801/0.238, allocations: 362.2 kB / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 6.873e-05/0.2381, allocations: 48.73 kB / 1.169 GB, free: 4.121 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001749/0.2383, allocations: 139.4 kB / 1.169 GB, free: 3.984 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.2385, allocations: 135.3 kB / 1.169 GB, free: 3.852 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.893e-05/0.2385, allocations: 16 kB / 1.169 GB, free: 3.836 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006394/0.2392, allocations: 0.5281 MB / 1.17 GB, free: 3.293 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.507e-05/0.2392, allocations: 51.7 kB / 1.17 GB, free: 3.242 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001321/0.2394, allocations: 143.2 kB / 1.17 GB, free: 3.102 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001359/0.2407, allocations: 0.846 MB / 1.171 GB, free: 2.254 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2408, allocations: 3.984 kB / 1.171 GB, free: 2.25 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2408, allocations: 0 / 1.171 GB, free: 2.25 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.2408, allocations: 0 / 1.171 GB, free: 2.25 MB / 0.92 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.001142/0.2419, allocations: 0.6613 MB / 1.172 GB, free: 1.539 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 2.785e-05/0.2419, allocations: 8.031 kB / 1.172 GB, free: 1.531 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.325e-05/0.242, allocations: 38.73 kB / 1.172 GB, free: 1.484 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.15e-05/0.242, allocations: 28.75 kB / 1.172 GB, free: 1.457 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004286/0.2425, allocations: 374.7 kB / 1.172 GB, free: 1.051 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.2425, allocations: 4.375 kB / 1.172 GB, free: 1.047 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.2425, allocations: 8.375 kB / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.2427, allocations: 105.1 kB / 1.172 GB, free: 0.918 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.2427, allocations: 0 / 1.172 GB, free: 0.918 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.2427, allocations: 4 kB / 1.172 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.046e-06/0.2427, allocations: 0 / 1.172 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.356e-05/0.2428, allocations: 63.88 kB / 1.172 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003342/0.2431, allocations: 348 kB / 1.173 GB, free: 464 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.2432, allocations: 106.4 kB / 1.173 GB, free: 320 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.943e-05/0.2433, allocations: 59.41 kB / 1.173 GB, free: 248 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.2433, allocations: 15.97 kB / 1.173 GB, free: 232 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.2434, allocations: 42.44 kB / 1.173 GB, free: 180 kB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.2434, allocations: 0 / 1.173 GB, free: 180 kB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0003026/0.2437, allocations: 185.3 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.624e-05/0.2438, allocations: 133 kB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005221/0.2443, allocations: 0.5015 MB / 1.174 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.2443, allocations: 29.7 kB / 1.174 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.2444, allocations: 152.4 kB / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.2445, allocations: 23.78 kB / 1.174 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.929e-05/0.2445, allocations: 49.69 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.2447, allocations: 342.8 kB / 1.174 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.2448, allocations: 95.92 kB / 1.174 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.245, allocations: 158.8 kB / 1.174 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002817/0.2453, allocations: 243.2 kB / 1.175 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2453, allocations: 0 / 1.175 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003783/0.2457, allocations: 305.3 kB / 1.175 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.2457, allocations: 4 kB / 1.175 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.2457, allocations: 0 / 1.175 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.2457, allocations: 8 kB / 1.175 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.2458, allocations: 15.98 kB / 1.175 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.2458, allocations: 3.984 kB / 1.175 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.246, allocations: 19.88 kB / 1.175 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.246, allocations: 4 kB / 1.175 GB, free: 13.82 MB / 0.9356 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.0001487/0.2462, allocations: 185.7 kB / 1.175 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.419e-05/0.2462, allocations: 35.75 kB / 1.175 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002885/0.2465, allocations: 183.7 kB / 1.175 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.2465, allocations: 0 / 1.175 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2465, allocations: 4 kB / 1.175 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2465, allocations: 0 / 1.175 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.2468, allocations: 301.3 kB / 1.176 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.2468, allocations: 0 / 1.176 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.084e-05/0.2469, allocations: 19.92 kB / 1.176 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.2469, allocations: 0 / 1.176 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.2469, allocations: 4.125 kB / 1.176 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2469, allocations: 4 kB / 1.176 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.2469, allocations: 0 / 1.176 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000231/0.2471, allocations: 191.3 kB / 1.176 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.2473, allocations: 136.8 kB / 1.176 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.982e-05/0.2473, allocations: 8 kB / 1.176 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.2474, allocations: 11.98 kB / 1.176 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.198e-05/0.2475, allocations: 7.984 kB / 1.176 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-06/0.2475, allocations: 7.938 kB / 1.176 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003848/0.2479, allocations: 379 kB / 1.176 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2479, allocations: 0 / 1.176 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003638/0.2482, allocations: 103.9 kB / 1.177 GB, free: 12.16 MB / 0.9356 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.004436/0.2527, allocations: 3.442 MB / 1.18 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002754/0.253, allocations: 175.9 kB / 1.18 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.253, allocations: 0 / 1.18 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.748e-05/0.2531, allocations: 47.91 kB / 1.18 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.2533, allocations: 57.78 kB / 1.18 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003631/0.257, allocations: 3.478 MB / 1.184 GB, free: 4.809 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/0.2573, allocations: 0.8143 MB / 1.184 GB, free: 3.969 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000103/0.2575, allocations: 50.28 kB / 1.184 GB, free: 3.922 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.2576, allocations: 79.41 kB / 1.184 GB, free: 3.844 MB / 0.9356 GB Notification: Performance of SimCode: time 2.6e-07/0.2576, allocations: 3.938 kB / 1.184 GB, free: 3.84 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.348/5.605, allocations: 10.73 MB / 1.195 GB, free: 9.289 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.61/21.22, allocations: 10.3 kB / 1.195 GB, free: 9.281 MB / 0.9512 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=400 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.fmu > Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1)