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.001217/0.001217, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001201/0.001201, allocations: 190.5 kB / 16.14 MB, free: 6.711 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.19/1.19, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.375/2.375, allocations: 461.8 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001463, allocations: 62.94 kB / 0.8985 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3084, allocations: 157.4 MB / 1.052 GB, free: 8.168 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.003026/0.3115, allocations: 1.64 MB / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001477/0.313, allocations: 0.919 MB / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.669e-05/0.3131, allocations: 0 / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003068/0.3135, allocations: 59.73 kB / 1.055 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005042/0.314, allocations: 135.5 kB / 1.055 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.028e-05/0.314, allocations: 4 kB / 1.055 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003851/0.3144, allocations: 362.3 kB / 1.055 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.239e-05/0.3145, allocations: 40.75 kB / 1.055 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002414/0.3148, allocations: 131.3 kB / 1.055 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002121/0.315, allocations: 131.3 kB / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.404e-05/0.315, allocations: 8 kB / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003235/0.3183, allocations: 0.668 MB / 1.056 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.046e-05/0.3184, allocations: 47.77 kB / 1.056 GB, free: 4 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000165/0.3185, allocations: 131.1 kB / 1.056 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01468/0.3332, allocations: 13.28 MB / 1.069 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3332, allocations: 0 / 1.069 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3333, allocations: 0 / 1.069 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.748e-05/0.3333, allocations: 7.938 kB / 1.069 GB, free: 6.527 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.001515/0.3348, allocations: 0.6458 MB / 1.07 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.3349, allocations: 19.91 kB / 1.07 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.152e-05/0.3349, allocations: 34.75 kB / 1.07 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.849e-05/0.335, allocations: 32.55 kB / 1.07 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004922/0.3355, allocations: 374.3 kB / 1.07 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.3355, allocations: 4.375 kB / 1.07 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.3355, allocations: 4.375 kB / 1.07 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.3357, allocations: 109.1 kB / 1.071 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.3357, allocations: 4 kB / 1.071 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.3357, allocations: 0 / 1.071 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.3358, allocations: 0 / 1.071 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.3359, allocations: 63.88 kB / 1.071 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000392/0.3363, allocations: 356 kB / 1.071 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.3364, allocations: 110.4 kB / 1.071 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.152e-05/0.3365, allocations: 63.45 kB / 1.071 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.3365, allocations: 0 / 1.071 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.3366, allocations: 46.44 kB / 1.071 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3366, allocations: 0 / 1.071 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0003552/0.3369, allocations: 181.1 kB / 1.071 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.519e-05/0.337, allocations: 132.5 kB / 1.071 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005964/0.3376, allocations: 0.5053 MB / 1.072 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/0.3376, allocations: 26.2 kB / 1.072 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.3378, allocations: 156.4 kB / 1.072 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.3378, allocations: 19.73 kB / 1.072 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.289e-05/0.3379, allocations: 49.61 kB / 1.072 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.338, allocations: 346.8 kB / 1.072 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.3382, allocations: 111.9 kB / 1.073 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/0.3384, allocations: 186.8 kB / 1.073 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003416/0.3387, allocations: 271.1 kB / 1.073 GB, free: 2.391 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.3387, allocations: 0 / 1.073 GB, free: 2.391 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004441/0.3392, allocations: 329 kB / 1.073 GB, free: 2.062 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.3392, allocations: 4 kB / 1.073 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.3392, allocations: 0 / 1.073 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.3393, allocations: 4 kB / 1.073 GB, free: 2.055 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.3394, allocations: 15.98 kB / 1.073 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.3394, allocations: 0 / 1.073 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.3396, allocations: 35.72 kB / 1.073 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.3396, allocations: 8 kB / 1.073 GB, free: 1.996 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.0001541/0.3398, allocations: 177.7 kB / 1.074 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.994e-05/0.3398, allocations: 35.56 kB / 1.074 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002965/0.3401, allocations: 175.8 kB / 1.074 GB, free: 1.598 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.3401, allocations: 8.172 kB / 1.074 GB, free: 1.59 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3402, allocations: 0 / 1.074 GB, free: 1.59 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3402, allocations: 0 / 1.074 GB, free: 1.59 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00025/0.3404, allocations: 301.3 kB / 1.074 GB, free: 1.246 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.3404, allocations: 0 / 1.074 GB, free: 1.246 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.871e-05/0.3405, allocations: 27.86 kB / 1.074 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.3405, allocations: 4 kB / 1.074 GB, free: 1.215 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.3405, allocations: 0 / 1.074 GB, free: 1.215 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.3406, allocations: 0 / 1.074 GB, free: 1.215 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.3406, allocations: 4 kB / 1.074 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/0.3408, allocations: 191.3 kB / 1.074 GB, free: 0.9961 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.3409, allocations: 140.5 kB / 1.074 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.687e-05/0.341, allocations: 4 kB / 1.074 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.3411, allocations: 11.98 kB / 1.074 GB, free: 0.8242 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.357e-05/0.3411, allocations: 7.984 kB / 1.074 GB, free: 0.8164 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.3412, allocations: 4 kB / 1.074 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003913/0.3415, allocations: 379 kB / 1.075 GB, free: 456 kB / 0.8262 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3416, allocations: 0 / 1.075 GB, free: 456 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004548/0.342, allocations: 103.9 kB / 1.075 GB, free: 352 kB / 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.00481/0.3468, allocations: 3.434 MB / 1.078 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003523/0.3472, allocations: 191.8 kB / 1.078 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3472, allocations: 3.938 kB / 1.078 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 6.595e-05/0.3473, allocations: 43.91 kB / 1.078 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.3476, allocations: 61.72 kB / 1.079 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004265/0.3519, allocations: 3.677 MB / 1.082 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.3522, allocations: 0.8185 MB / 1.083 GB, free: 7.934 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001296/0.3524, allocations: 46.28 kB / 1.083 GB, free: 7.891 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.3525, allocations: 79.41 kB / 1.083 GB, free: 7.812 MB / 0.8419 GB Notification: Performance of SimCode: time 2.1e-07/0.3525, allocations: 0 / 1.083 GB, free: 7.812 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02225/0.3748, allocations: 10.66 MB / 1.093 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002186/0.375, allocations: 229.9 kB / 1.094 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.961/3.336, allocations: 1.719 kB / 1.094 GB, free: 13.09 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)