Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_latest_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.0008728/0.0008728, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005409/0.005409, allocations: 170 kB / 16.26 MB, free: 6.613 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.229/1.229, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.415/2.415, allocations: 462.6 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003165/0.0003165, allocations: 8.156 kB / 0.9029 GB, free: 36.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2671, allocations: 159.6 MB / 1.059 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.001353/0.2684, allocations: 1.309 MB / 1.06 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.2695, allocations: 0.9035 MB / 1.061 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.863e-05/0.2696, allocations: 0 / 1.061 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001676/0.2697, allocations: 55.72 kB / 1.061 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002999/0.27, allocations: 135.5 kB / 1.061 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 2.409e-05/0.2701, allocations: 8 kB / 1.061 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003065/0.2704, allocations: 354.3 kB / 1.061 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.441e-05/0.2705, allocations: 48.73 kB / 1.061 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.2706, allocations: 127.3 kB / 1.062 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.2708, allocations: 131.3 kB / 1.062 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.555e-05/0.2708, allocations: 12 kB / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003181/0.274, allocations: 0.668 MB / 1.062 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.377e-05/0.2741, allocations: 47.69 kB / 1.062 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.2742, allocations: 153 kB / 1.063 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01212/0.2863, allocations: 13.28 MB / 1.076 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.2863, allocations: 0 / 1.076 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2863, allocations: 0 / 1.076 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.2864, allocations: 0 / 1.076 GB, free: 3.566 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.001153/0.2875, allocations: 0.6072 MB / 1.076 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.2876, allocations: 11.97 kB / 1.076 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.382e-05/0.2876, allocations: 34.75 kB / 1.076 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.916e-05/0.2877, allocations: 32.47 kB / 1.076 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004002/0.2881, allocations: 378.3 kB / 1.077 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.2881, allocations: 384 / 1.077 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.2881, allocations: 12.36 kB / 1.077 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.2883, allocations: 109.1 kB / 1.077 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/0.2883, allocations: 0 / 1.077 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.2883, allocations: 0 / 1.077 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2883, allocations: 3.938 kB / 1.077 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.924e-05/0.2884, allocations: 71.88 kB / 1.077 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003298/0.2887, allocations: 348.1 kB / 1.077 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.2889, allocations: 110.4 kB / 1.077 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.193e-05/0.2889, allocations: 59.41 kB / 1.077 GB, free: 1.59 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.289, allocations: 4 kB / 1.077 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.289, allocations: 46.42 kB / 1.077 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.289, allocations: 0 / 1.077 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0003379/0.2893, allocations: 189 kB / 1.078 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.228e-05/0.2894, allocations: 132.5 kB / 1.078 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005095/0.2899, allocations: 0.4937 MB / 1.078 GB, free: 0.6758 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.2899, allocations: 29.7 kB / 1.078 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.2901, allocations: 160.3 kB / 1.078 GB, free: 488 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.2901, allocations: 11.75 kB / 1.078 GB, free: 476 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.641e-05/0.2901, allocations: 30.2 kB / 1.078 GB, free: 440 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.995e-05/0.2902, allocations: 350.8 kB / 1.079 GB, free: 80 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.2904, allocations: 116 kB / 1.079 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/0.2906, allocations: 187.9 kB / 1.079 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003184/0.2909, allocations: 263.2 kB / 1.079 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2909, allocations: 4 kB / 1.079 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004173/0.2913, allocations: 325.1 kB / 1.08 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.2914, allocations: 4 kB / 1.08 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.2914, allocations: 0 / 1.08 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.2914, allocations: 4 kB / 1.08 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.2915, allocations: 15.98 kB / 1.08 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.324e-05/0.2916, allocations: 3.984 kB / 1.08 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001729/0.2918, allocations: 35.67 kB / 1.08 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.2918, allocations: 7.984 kB / 1.08 GB, free: 15.09 MB / 0.8419 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.0001526/0.2919, allocations: 177.7 kB / 1.08 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.776e-05/0.292, allocations: 39.55 kB / 1.08 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002847/0.2923, allocations: 175.8 kB / 1.08 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.2923, allocations: 4 kB / 1.08 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.2923, allocations: 0 / 1.08 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.2923, allocations: 128 / 1.08 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/0.2926, allocations: 301.2 kB / 1.08 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2926, allocations: 0 / 1.08 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.223e-05/0.2927, allocations: 20.16 kB / 1.08 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.2927, allocations: 4 kB / 1.08 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.2927, allocations: 4 kB / 1.08 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2927, allocations: 0 / 1.08 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.2927, allocations: 7.938 kB / 1.08 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002094/0.2929, allocations: 187.2 kB / 1.08 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.293, allocations: 140.5 kB / 1.081 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.043e-05/0.2931, allocations: 4 kB / 1.081 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.2932, allocations: 11.98 kB / 1.081 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.036e-05/0.2933, allocations: 7.984 kB / 1.081 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.2933, allocations: 4 kB / 1.081 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003828/0.2937, allocations: 383 kB / 1.081 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2937, allocations: 3.938 kB / 1.081 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004837/0.2941, allocations: 99.94 kB / 1.081 GB, free: 13.44 MB / 0.8419 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.004831/0.299, allocations: 3.434 MB / 1.084 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003833/0.2994, allocations: 191.8 kB / 1.085 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.2994, allocations: 3.938 kB / 1.085 GB, free: 9.77 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 6.376e-05/0.2995, allocations: 47.97 kB / 1.085 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004392/0.2999, allocations: 49.53 kB / 1.085 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004364/0.3043, allocations: 3.707 MB / 1.088 GB, free: 5.852 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.3046, allocations: 0.8146 MB / 1.089 GB, free: 5.012 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001378/0.3048, allocations: 46.3 kB / 1.089 GB, free: 4.961 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.3049, allocations: 79.41 kB / 1.089 GB, free: 4.883 MB / 0.8419 GB Notification: Performance of SimCode: time 6.01e-07/0.3049, allocations: 0 / 1.089 GB, free: 4.883 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02195/0.3269, allocations: 10.53 MB / 1.1 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002192/0.3271, allocations: 231.9 kB / 1.1 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.003/2.33, allocations: 0 / 1.1 GB, free: 10.32 MB / 0.8575 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.fmu > Buildings_latest_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1)