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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001649/0.001649, allocations: 108 kB / 15.6 MB, free: 132 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.001399/0.001399, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.565/2.565, allocations: 461.9 MB / 0.7346 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 62.02 kB / 0.8992 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2866, allocations: 157.4 MB / 1.053 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002967/0.2896, allocations: 1.585 MB / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00146/0.2911, allocations: 0.9387 MB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.822e-05/0.2912, allocations: 0 / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002832/0.2915, allocations: 67.66 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005159/0.292, allocations: 143.3 kB / 1.056 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.212e-05/0.2921, allocations: 7.984 kB / 1.056 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004035/0.2925, allocations: 366.2 kB / 1.056 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.246e-05/0.2926, allocations: 44.73 kB / 1.056 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002368/0.2928, allocations: 139.4 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002179/0.293, allocations: 143.3 kB / 1.056 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.458e-05/0.2931, allocations: 16 kB / 1.056 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00307/0.2962, allocations: 0.5629 MB / 1.057 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.962e-05/0.2963, allocations: 55.7 kB / 1.057 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002073/0.2965, allocations: 135.3 kB / 1.057 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01457/0.3111, allocations: 13.22 MB / 1.07 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3111, allocations: 0 / 1.07 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3111, allocations: 0 / 1.07 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.145e-05/0.3111, allocations: 0 / 1.07 GB, free: 6.801 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.001466/0.3126, allocations: 0.6537 MB / 1.071 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.3127, allocations: 8.625 kB / 1.071 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.067e-05/0.3127, allocations: 34.75 kB / 1.071 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.842e-05/0.3128, allocations: 28.56 kB / 1.071 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004786/0.3133, allocations: 374.3 kB / 1.071 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.3133, allocations: 8.359 kB / 1.071 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.3133, allocations: 8.375 kB / 1.071 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.3135, allocations: 101.1 kB / 1.071 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.3135, allocations: 0 / 1.071 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.3135, allocations: 4 kB / 1.071 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.3135, allocations: 0 / 1.071 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.3137, allocations: 79.8 kB / 1.071 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003981/0.3141, allocations: 344 kB / 1.071 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.3142, allocations: 102.4 kB / 1.072 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.339e-05/0.3143, allocations: 63.45 kB / 1.072 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.3143, allocations: 0 / 1.072 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.3143, allocations: 42.44 kB / 1.072 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.3143, allocations: 0 / 1.072 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0003442/0.3147, allocations: 189.2 kB / 1.072 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.523e-05/0.3148, allocations: 132.5 kB / 1.072 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005783/0.3153, allocations: 0.5014 MB / 1.072 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.3154, allocations: 25.7 kB / 1.072 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.3155, allocations: 156.4 kB / 1.073 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.08e-05/0.3155, allocations: 23.69 kB / 1.073 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.813e-05/0.3156, allocations: 54 kB / 1.073 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.3158, allocations: 346.8 kB / 1.073 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.3159, allocations: 95.92 kB / 1.073 GB, free: 3.172 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001828/0.3161, allocations: 162.7 kB / 1.073 GB, free: 2.988 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002925/0.3164, allocations: 227.3 kB / 1.073 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.3164, allocations: 4 kB / 1.073 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004131/0.3168, allocations: 297 kB / 1.074 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.3169, allocations: 8 kB / 1.074 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.3169, allocations: 0 / 1.074 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.3169, allocations: 0 / 1.074 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.317, allocations: 19.98 kB / 1.074 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.317, allocations: 4 kB / 1.074 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/0.3172, allocations: 23.73 kB / 1.074 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.3173, allocations: 4 kB / 1.074 GB, free: 2.395 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.000176/0.3174, allocations: 195.2 kB / 1.074 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.122e-05/0.3175, allocations: 31.56 kB / 1.074 GB, free: 2.164 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003176/0.3178, allocations: 171.8 kB / 1.074 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.3178, allocations: 7.984 kB / 1.074 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3179, allocations: 0 / 1.074 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.3179, allocations: 4.125 kB / 1.074 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002807/0.3182, allocations: 301.3 kB / 1.075 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.3182, allocations: 4 kB / 1.075 GB, free: 1.629 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.836e-05/0.3183, allocations: 19.94 kB / 1.075 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.3183, allocations: 0 / 1.075 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.3183, allocations: 3.984 kB / 1.075 GB, free: 1.605 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.3183, allocations: 4 kB / 1.075 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3183, allocations: 0 / 1.075 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.3186, allocations: 191.2 kB / 1.075 GB, free: 1.387 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.3187, allocations: 132.8 kB / 1.075 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.296e-05/0.3188, allocations: 7.984 kB / 1.075 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.3189, allocations: 7.984 kB / 1.075 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.652e-05/0.3189, allocations: 11.98 kB / 1.075 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.319, allocations: 4 kB / 1.075 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004229/0.3194, allocations: 379 kB / 1.075 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3194, allocations: 0 / 1.075 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004608/0.3198, allocations: 100 kB / 1.075 GB, free: 0.7422 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.004971/0.3248, allocations: 3.442 MB / 1.079 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003198/0.3252, allocations: 171.8 kB / 1.079 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.3252, allocations: 0 / 1.079 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 6.974e-05/0.3253, allocations: 51.89 kB / 1.079 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.3256, allocations: 46.58 kB / 1.079 GB, free: 13 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004097/0.3297, allocations: 3.493 MB / 1.082 GB, free: 9.379 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.3301, allocations: 0.8103 MB / 1.083 GB, free: 8.543 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001295/0.3302, allocations: 49.92 kB / 1.083 GB, free: 8.496 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.3304, allocations: 79.41 kB / 1.083 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of SimCode: time 3.1e-07/0.3304, allocations: 0 / 1.083 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03008/0.3605, allocations: 10.68 MB / 1.094 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.276/7.636, allocations: 12.53 kB / 1.094 GB, free: 13.89 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)