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.004974/0.004974, allocations: 99.72 kB / 15.73 MB, free: 6.48 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.001408/0.001408, allocations: 193.8 kB / 16.68 MB, free: 6.363 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.364/1.364, 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 11.1.0-maint.11.x/package.mo): time 2.595/2.595, allocations: 469.8 MB / 0.7425 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001717/0.001717, allocations: 59.91 kB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2574, allocations: 159.1 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002309/0.2597, allocations: 1.587 MB / 1.222 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001218/0.261, allocations: 0.9034 MB / 1.223 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.384e-05/0.261, allocations: 4 kB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000205/0.2613, allocations: 63.66 kB / 1.223 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003723/0.2616, allocations: 147.3 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 2.853e-05/0.2617, allocations: 7.984 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003837/0.2621, allocations: 362.3 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.135e-05/0.2621, allocations: 48.72 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001763/0.2623, allocations: 139.4 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000188/0.2625, allocations: 147.3 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.537e-05/0.2626, allocations: 16 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006522/0.2632, allocations: 0.528 MB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.728e-05/0.2633, allocations: 55.7 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.2634, allocations: 127.3 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001365/0.2648, allocations: 0.8419 MB / 1.225 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2648, allocations: 4 kB / 1.225 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2648, allocations: 0 / 1.225 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.2648, allocations: 3.938 kB / 1.225 GB, free: 9.336 MB / 0.9825 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.001177/0.266, allocations: 0.6613 MB / 1.226 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 2.812e-05/0.2661, allocations: 8.031 kB / 1.226 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.432e-05/0.2661, allocations: 34.69 kB / 1.226 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.576e-05/0.2662, allocations: 36.7 kB / 1.226 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004365/0.2666, allocations: 378.6 kB / 1.226 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.2666, allocations: 8.375 kB / 1.226 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.2666, allocations: 4.375 kB / 1.226 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.2668, allocations: 97.2 kB / 1.226 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.2668, allocations: 7.922 kB / 1.226 GB, free: 8 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.2668, allocations: 7.938 kB / 1.226 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.885e-06/0.2668, allocations: 0 / 1.226 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.306e-05/0.2669, allocations: 63.94 kB / 1.226 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003386/0.2673, allocations: 344 kB / 1.227 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.2674, allocations: 114.4 kB / 1.227 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.706e-05/0.2675, allocations: 55.47 kB / 1.227 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.2675, allocations: 0 / 1.227 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.2675, allocations: 54.42 kB / 1.227 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.2675, allocations: 0 / 1.227 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0003022/0.2678, allocations: 185.3 kB / 1.227 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.863e-05/0.2679, allocations: 132.5 kB / 1.227 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005621/0.2685, allocations: 0.5053 MB / 1.228 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.2685, allocations: 25.7 kB / 1.228 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.2686, allocations: 160.4 kB / 1.228 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.2687, allocations: 19.83 kB / 1.228 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.579e-05/0.2687, allocations: 54.19 kB / 1.228 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.2689, allocations: 338.8 kB / 1.228 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.269, allocations: 103.9 kB / 1.228 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.2692, allocations: 158.8 kB / 1.228 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000287/0.2695, allocations: 235.2 kB / 1.229 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2695, allocations: 0 / 1.229 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003875/0.2699, allocations: 297.2 kB / 1.229 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.2699, allocations: 8 kB / 1.229 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.2699, allocations: 3.938 kB / 1.229 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.2699, allocations: 0 / 1.229 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.27, allocations: 19.98 kB / 1.229 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.2701, allocations: 0 / 1.229 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.2702, allocations: 23.81 kB / 1.229 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.2702, allocations: 7.984 kB / 1.229 GB, free: 4.898 MB / 0.9825 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.0001544/0.2704, allocations: 182.3 kB / 1.229 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.921e-05/0.2704, allocations: 39.69 kB / 1.229 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002872/0.2707, allocations: 180 kB / 1.229 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2707, allocations: 7.938 kB / 1.229 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.2708, allocations: 0 / 1.229 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.2708, allocations: 4 kB / 1.229 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002501/0.271, allocations: 289.6 kB / 1.23 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.271, allocations: 4 kB / 1.23 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.58e-05/0.2711, allocations: 23.86 kB / 1.23 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.2711, allocations: 0 / 1.23 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.2711, allocations: 0 / 1.23 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.2711, allocations: 4 kB / 1.23 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2712, allocations: 0 / 1.23 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002366/0.2714, allocations: 199.3 kB / 1.23 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.2715, allocations: 136.8 kB / 1.23 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.11e-05/0.2716, allocations: 4 kB / 1.23 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.2717, allocations: 11.98 kB / 1.23 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.911e-05/0.2717, allocations: 7.984 kB / 1.23 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.2717, allocations: 4 kB / 1.23 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004112/0.2722, allocations: 375 kB / 1.23 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2722, allocations: 4 kB / 1.23 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003705/0.2725, allocations: 103.9 kB / 1.23 GB, free: 3.242 MB / 0.9825 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.004655/0.2772, allocations: 3.438 MB / 1.234 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002778/0.2775, allocations: 171.7 kB / 1.234 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2775, allocations: 0 / 1.234 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.631e-05/0.2776, allocations: 47.91 kB / 1.234 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.2779, allocations: 62.55 kB / 1.234 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003783/0.2817, allocations: 3.494 MB / 1.238 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/0.2821, allocations: 0.8181 MB / 1.238 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001036/0.2822, allocations: 50.28 kB / 1.238 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.2823, allocations: 79.41 kB / 1.238 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of SimCode: time 2.1e-07/0.2823, allocations: 0 / 1.238 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.043/5.325, allocations: 10.73 MB / 1.249 GB, free: 364 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.12/26.45, allocations: 3.938 kB / 1.249 GB, free: 360 kB / 0.9981 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)