Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_11_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.001631/0.001631, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001782/0.001782, allocations: 194.7 kB / 16.53 MB, free: 6.664 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.277/1.277, allocations: 222.9 MB / 240.2 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.633/2.633, allocations: 469.8 MB / 0.7424 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 68.31 kB / 0.9087 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2519, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.00253/0.2545, allocations: 1.593 MB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001243/0.2557, allocations: 0.919 MB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.549e-05/0.2558, allocations: 0 / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002084/0.256, allocations: 55.67 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000412/0.2564, allocations: 147.3 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 2.91e-05/0.2565, allocations: 7.984 kB / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003659/0.2569, allocations: 358.3 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.901e-05/0.2569, allocations: 44.73 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001764/0.2571, allocations: 143.4 kB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001815/0.2573, allocations: 139.3 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.729e-05/0.2574, allocations: 16 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006454/0.258, allocations: 0.5319 MB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.653e-05/0.2581, allocations: 47.77 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.2582, allocations: 135.2 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001365/0.2596, allocations: 0.8463 MB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2596, allocations: 4 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2596, allocations: 0 / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.2596, allocations: 0 / 1.069 GB, free: 9.207 MB / 0.8262 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.001222/0.2608, allocations: 0.6458 MB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.2609, allocations: 12.03 kB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.399e-05/0.2609, allocations: 30.75 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.153e-05/0.261, allocations: 32.56 kB / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004474/0.2614, allocations: 374.3 kB / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.2615, allocations: 4.375 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.2615, allocations: 4.375 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.2616, allocations: 109.2 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.2617, allocations: 0 / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.2617, allocations: 3.938 kB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.2617, allocations: 0 / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.646e-05/0.2618, allocations: 63.88 kB / 1.07 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003614/0.2621, allocations: 348 kB / 1.07 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.2623, allocations: 110.3 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.405e-05/0.2624, allocations: 55.47 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.2624, allocations: 8 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.2624, allocations: 42.48 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 2.705e-06/0.2624, allocations: 0 / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0003198/0.2628, allocations: 181.1 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.573e-05/0.2628, allocations: 141 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005652/0.2634, allocations: 0.5014 MB / 1.071 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.2634, allocations: 25.7 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.2636, allocations: 164.3 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.2636, allocations: 11.84 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.317e-05/0.2637, allocations: 53.59 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.2638, allocations: 342.8 kB / 1.072 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.264, allocations: 99.91 kB / 1.072 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001843/0.2642, allocations: 162.8 kB / 1.072 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002907/0.2644, allocations: 239.2 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2645, allocations: 0 / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003865/0.2648, allocations: 293 kB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.2649, allocations: 4 kB / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.2649, allocations: 4 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.2649, allocations: 4.234 kB / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.265, allocations: 19.92 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.265, allocations: 0 / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.2652, allocations: 27.75 kB / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.2652, allocations: 8 kB / 1.073 GB, free: 4.805 MB / 0.8262 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.0001569/0.2654, allocations: 181.8 kB / 1.073 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.976e-05/0.2654, allocations: 39.55 kB / 1.073 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002964/0.2657, allocations: 183.7 kB / 1.073 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.2657, allocations: 0 / 1.073 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.2657, allocations: 7.938 kB / 1.073 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2658, allocations: 0 / 1.073 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002677/0.266, allocations: 289.4 kB / 1.074 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.266, allocations: 0 / 1.074 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.006e-05/0.2661, allocations: 23.86 kB / 1.074 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.2661, allocations: 4.125 kB / 1.074 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.2662, allocations: 4 kB / 1.074 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2662, allocations: 0 / 1.074 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2662, allocations: 0 / 1.074 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/0.2664, allocations: 191.2 kB / 1.074 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/0.2665, allocations: 136.6 kB / 1.074 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.232e-05/0.2666, allocations: 4 kB / 1.074 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.2667, allocations: 11.98 kB / 1.074 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.496e-05/0.2668, allocations: 11.92 kB / 1.074 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.802e-06/0.2668, allocations: 4 kB / 1.074 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004159/0.2672, allocations: 379 kB / 1.074 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2672, allocations: 0 / 1.074 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004241/0.2676, allocations: 100 kB / 1.074 GB, free: 3.152 MB / 0.8262 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.005023/0.2727, allocations: 3.439 MB / 1.078 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002953/0.273, allocations: 175.7 kB / 1.078 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.273, allocations: 0 / 1.078 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 7.289e-05/0.2731, allocations: 47.91 kB / 1.078 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.2734, allocations: 65.86 kB / 1.078 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003931/0.2773, allocations: 3.479 MB / 1.081 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003948/0.2777, allocations: 0.8182 MB / 1.082 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001211/0.2778, allocations: 54.28 kB / 1.082 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.278, allocations: 79.41 kB / 1.082 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.278, allocations: 0 / 1.082 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.181/1.459, allocations: 10.67 MB / 1.093 GB, free: 300 kB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/12.53, allocations: 15.2 kB / 1.093 GB, free: 288 kB / 0.8419 GB (rm -f Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.fmu > Buildings_11_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1)