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.001371/0.001371, 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.001252/0.001252, allocations: 190.6 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 1.25/1.25, allocations: 222.9 MB / 239.9 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.504/2.504, allocations: 461.9 MB / 0.7344 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 72.77 kB / 0.8987 GB, free: 37.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3161, allocations: 157.4 MB / 1.052 GB, free: 8.656 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002965/0.3191, allocations: 1.656 MB / 1.054 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00134/0.3205, allocations: 0.9112 MB / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.583e-05/0.3206, allocations: 0 / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.00026/0.3208, allocations: 67.7 kB / 1.055 GB, free: 6 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004188/0.3213, allocations: 135.5 kB / 1.055 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.019e-05/0.3213, allocations: 4 kB / 1.055 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003915/0.3217, allocations: 358.3 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.895e-05/0.3218, allocations: 48.72 kB / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001961/0.322, allocations: 143.3 kB / 1.056 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001884/0.3222, allocations: 155.3 kB / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.256e-05/0.3222, allocations: 16 kB / 1.056 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002825/0.3251, allocations: 0.5668 MB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.89e-05/0.3251, allocations: 51.77 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000154/0.3253, allocations: 143.2 kB / 1.057 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01359/0.3389, allocations: 13.31 MB / 1.07 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.339, allocations: 0 / 1.07 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.994e-06/0.339, allocations: 0 / 1.07 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.339, allocations: 0 / 1.07 GB, free: 7.023 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.001454/0.3404, allocations: 0.6498 MB / 1.07 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.3405, allocations: 8.625 kB / 1.07 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.007e-05/0.3405, allocations: 30.75 kB / 1.07 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.708e-05/0.3406, allocations: 32.56 kB / 1.07 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004571/0.3411, allocations: 374.3 kB / 1.071 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.3411, allocations: 8.375 kB / 1.071 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.3411, allocations: 4.375 kB / 1.071 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.3413, allocations: 105.1 kB / 1.071 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.3413, allocations: 0 / 1.071 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.3413, allocations: 7.938 kB / 1.071 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.3413, allocations: 0 / 1.071 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.3414, allocations: 71.86 kB / 1.071 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003712/0.3418, allocations: 352 kB / 1.071 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.342, allocations: 102.4 kB / 1.071 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.312e-05/0.3421, allocations: 67.45 kB / 1.071 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.3421, allocations: 4 kB / 1.071 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.3421, allocations: 38.44 kB / 1.071 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.332e-06/0.3421, allocations: 0 / 1.071 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0003473/0.3425, allocations: 193.2 kB / 1.072 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.415e-05/0.3426, allocations: 132.5 kB / 1.072 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005731/0.3431, allocations: 0.4975 MB / 1.072 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.3432, allocations: 29.7 kB / 1.072 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.3433, allocations: 152.4 kB / 1.072 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.3433, allocations: 23.73 kB / 1.072 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.729e-05/0.3434, allocations: 45.92 kB / 1.072 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.3436, allocations: 350.8 kB / 1.073 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.3438, allocations: 115.9 kB / 1.073 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/0.344, allocations: 182.7 kB / 1.073 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003396/0.3443, allocations: 263.3 kB / 1.073 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3443, allocations: 4 kB / 1.073 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000433/0.3448, allocations: 329 kB / 1.074 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.3448, allocations: 8 kB / 1.074 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.3448, allocations: 0 / 1.074 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.3448, allocations: 0 / 1.074 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.345, allocations: 19.98 kB / 1.074 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.345, allocations: 0 / 1.074 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/0.3452, allocations: 31.66 kB / 1.074 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.3452, allocations: 8 kB / 1.074 GB, free: 2.508 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.0001773/0.3454, allocations: 187.2 kB / 1.074 GB, free: 2.316 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.775e-05/0.3454, allocations: 31.56 kB / 1.074 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003215/0.3458, allocations: 180 kB / 1.074 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.3458, allocations: 0 / 1.074 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.3458, allocations: 7.984 kB / 1.074 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3458, allocations: 128 / 1.074 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/0.3461, allocations: 305.3 kB / 1.074 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3461, allocations: 0 / 1.074 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.872e-05/0.3462, allocations: 19.92 kB / 1.074 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3462, allocations: 0 / 1.074 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.3462, allocations: 4 kB / 1.074 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.3462, allocations: 0 / 1.074 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3462, allocations: 0 / 1.074 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002577/0.3465, allocations: 191.2 kB / 1.074 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/0.3466, allocations: 136.5 kB / 1.075 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.857e-05/0.3467, allocations: 8 kB / 1.075 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.3468, allocations: 7.984 kB / 1.075 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.27e-05/0.3468, allocations: 7.984 kB / 1.075 GB, free: 1.332 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.3469, allocations: 4 kB / 1.075 GB, free: 1.328 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000421/0.3473, allocations: 379 kB / 1.075 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3473, allocations: 4 kB / 1.075 GB, free: 0.9531 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005428/0.3478, allocations: 103.9 kB / 1.075 GB, free: 0.8516 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.005399/0.3532, allocations: 3.43 MB / 1.078 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005276/0.3538, allocations: 195.9 kB / 1.079 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.3538, allocations: 0 / 1.079 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 6.593e-05/0.3539, allocations: 47.91 kB / 1.079 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005388/0.3545, allocations: 58.72 kB / 1.079 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004651/0.3591, allocations: 3.691 MB / 1.082 GB, free: 9.273 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003808/0.3595, allocations: 0.8143 MB / 1.083 GB, free: 8.434 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001516/0.3597, allocations: 54.28 kB / 1.083 GB, free: 8.383 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/0.3599, allocations: 79.41 kB / 1.083 GB, free: 8.305 MB / 0.8419 GB Notification: Performance of SimCode: time 1.062e-06/0.3599, allocations: 0 / 1.083 GB, free: 8.305 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3017/0.6616, allocations: 10.84 MB / 1.094 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003263/0.662, allocations: 236.8 kB / 1.094 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.733/3.395, allocations: 0 / 1.094 GB, free: 13.42 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)