Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_9_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.002086/0.002086, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002419/0.002419, allocations: 192.1 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.579/2.579, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 4.676/4.676, allocations: 390.2 MB / 0.6644 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002608/0.002608, allocations: 67.89 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.485/1.487, allocations: 140.4 MB / 0.9492 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.006364/1.494, allocations: 1.648 MB / 0.9508 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002866/1.497, allocations: 0.9053 MB / 0.9517 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002462/1.497, allocations: 1.375 kB / 0.9517 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006403/1.498, allocations: 61.58 kB / 0.9518 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001154/1.499, allocations: 131.6 kB / 0.9519 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 8.734e-05/1.499, allocations: 14.73 kB / 0.9519 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008154/1.5, allocations: 359.7 kB / 0.9523 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001881/1.5, allocations: 42.78 kB / 0.9523 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006265/1.501, allocations: 142.9 kB / 0.9524 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004343/1.501, allocations: 145.8 kB / 0.9526 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.336e-05/1.501, allocations: 18.19 kB / 0.9526 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005375/1.507, allocations: 0.5609 MB / 0.9531 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002027/1.507, allocations: 57.58 kB / 0.9532 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004423/1.508, allocations: 141.9 kB / 0.9533 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.02562/1.533, allocations: 13.31 MB / 0.9663 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.309e-05/1.533, allocations: 4 kB / 0.9663 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.777e-06/1.533, allocations: 0 / 0.9663 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.858e-05/1.533, allocations: 1.562 kB / 0.9663 GB, free: 11.27 MB / 0.7325 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.005196/1.539, allocations: 0.6472 MB / 0.967 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 0.000108/1.539, allocations: 14 kB / 0.967 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001069/1.539, allocations: 31.91 kB / 0.967 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002841/1.539, allocations: 31.12 kB / 0.967 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/1.541, allocations: 376 kB / 0.9674 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.177e-05/1.541, allocations: 2.656 kB / 0.9674 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.786e-05/1.541, allocations: 8.281 kB / 0.9674 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003491/1.541, allocations: 102.2 kB / 0.9675 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/1.541, allocations: 9.109 kB / 0.9675 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/1.541, allocations: 0 / 0.9675 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/1.541, allocations: 1.281 kB / 0.9675 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001952/1.541, allocations: 75.12 kB / 0.9676 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009787/1.542, allocations: 349.3 kB / 0.9679 GB, free: 9.828 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002806/1.543, allocations: 111.3 kB / 0.968 GB, free: 9.703 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/1.543, allocations: 60.22 kB / 0.9681 GB, free: 9.652 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.818e-05/1.543, allocations: 8.969 kB / 0.9681 GB, free: 9.645 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.08e-05/1.543, allocations: 40.69 kB / 0.9681 GB, free: 9.598 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 4.288e-06/1.543, allocations: 0 / 0.9681 GB, free: 9.598 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0007741/1.544, allocations: 181.2 kB / 0.9683 GB, free: 9.488 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/1.544, allocations: 134.5 kB / 0.9684 GB, free: 9.328 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/1.545, allocations: 0.499 MB / 0.9689 GB, free: 9.031 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.984e-05/1.545, allocations: 35.02 kB / 0.969 GB, free: 8.992 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002382/1.546, allocations: 161 kB / 0.9691 GB, free: 8.848 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.85e-05/1.546, allocations: 13.94 kB / 0.9691 GB, free: 8.836 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002481/1.546, allocations: 49.72 kB / 0.9692 GB, free: 8.801 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000251/1.546, allocations: 344.2 kB / 0.9695 GB, free: 8.465 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003434/1.547, allocations: 117.4 kB / 0.9696 GB, free: 8.406 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004655/1.547, allocations: 187.3 kB / 0.9698 GB, free: 8.27 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006733/1.548, allocations: 266.2 kB / 0.97 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/1.548, allocations: 1.156 kB / 0.97 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0009608/1.549, allocations: 329 kB / 0.9704 GB, free: 7.93 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.692e-05/1.549, allocations: 4.938 kB / 0.9704 GB, free: 7.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/1.549, allocations: 1.219 kB / 0.9704 GB, free: 7.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.07e-05/1.549, allocations: 1.781 kB / 0.9704 GB, free: 7.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002702/1.549, allocations: 20.89 kB / 0.9704 GB, free: 7.922 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.455e-05/1.549, allocations: 1 kB / 0.9704 GB, free: 7.922 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004412/1.55, allocations: 25.17 kB / 0.9704 GB, free: 7.906 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.839e-05/1.55, allocations: 8.172 kB / 0.9704 GB, free: 7.902 MB / 0.7325 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.0004231/1.55, allocations: 179.9 kB / 0.9706 GB, free: 7.75 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/1.55, allocations: 37.83 kB / 0.9706 GB, free: 7.727 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006176/1.551, allocations: 180.9 kB / 0.9708 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/1.551, allocations: 2.375 kB / 0.9708 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/1.551, allocations: 1 kB / 0.9708 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/1.551, allocations: 1.031 kB / 0.9708 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006101/1.552, allocations: 296.3 kB / 0.9711 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.443e-06/1.552, allocations: 1.625 kB / 0.9711 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/1.552, allocations: 19.58 kB / 0.9711 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.159e-05/1.552, allocations: 2.188 kB / 0.9711 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/1.552, allocations: 9 kB / 0.9711 GB, free: 7.309 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.431e-06/1.552, allocations: 1.094 kB / 0.9711 GB, free: 7.309 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/1.552, allocations: 6.375 kB / 0.9711 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005401/1.552, allocations: 184.8 kB / 0.9713 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003296/1.553, allocations: 137.7 kB / 0.9714 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/1.553, allocations: 10.06 kB / 0.9714 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002998/1.553, allocations: 18.75 kB / 0.9715 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/1.553, allocations: 11.02 kB / 0.9715 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/1.553, allocations: 2.469 kB / 0.9715 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009234/1.554, allocations: 378.9 kB / 0.9718 GB, free: 6.777 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.81e-07/1.554, allocations: 0 / 0.9718 GB, free: 6.777 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002376/1.557, allocations: 100.5 kB / 0.9719 GB, free: 6.77 MB / 0.7325 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.01336/1.57, allocations: 3.439 MB / 0.9753 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009391/1.571, allocations: 197.6 kB / 0.9755 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/1.571, allocations: 1.094 kB / 0.9755 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001674/1.571, allocations: 45.41 kB / 0.9755 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/1.572, allocations: 55.12 kB / 0.9756 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01174/1.584, allocations: 3.699 MB / 0.9792 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008294/1.585, allocations: 0.8194 MB / 0.98 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003661/1.585, allocations: 42.98 kB / 0.98 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002907/1.586, allocations: 78.97 kB / 0.9801 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of SimCode: time 1.512e-06/1.586, allocations: 4 kB / 0.9801 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05766/1.643, allocations: 10.83 MB / 0.9907 GB, free: 7.082 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004762/1.644, allocations: 227.7 kB / 0.9909 GB, free: 6.832 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.396/6.04, allocations: 0 / 0.9909 GB, free: 6.832 MB / 0.7481 GB (rm -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.fmu > Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1)