Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_10_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.001249/0.001249, 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.001212/0.001212, allocations: 195.5 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.197/1.197, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.442/2.442, allocations: 437 MB / 0.7104 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 63.91 kB / 0.8693 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5301/0.5315, allocations: 151.6 MB / 1.017 GB, free: 2.43 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002474/0.534, allocations: 1.581 MB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001239/0.5352, allocations: 0.9111 MB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.245e-05/0.5353, allocations: 4 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002297/0.5356, allocations: 71.66 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004118/0.536, allocations: 155.2 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 3.363e-05/0.536, allocations: 7.984 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003418/0.5364, allocations: 358.3 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.088e-05/0.5365, allocations: 44.73 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001892/0.5367, allocations: 143.4 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001801/0.5369, allocations: 139.3 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.587e-05/0.5369, allocations: 16 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002821/0.5397, allocations: 0.5668 MB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.05e-05/0.5398, allocations: 51.77 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.5399, allocations: 135.2 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01334/0.5533, allocations: 13.23 MB / 1.034 GB, free: 0.9766 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.5533, allocations: 0 / 1.034 GB, free: 0.9766 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5533, allocations: 0 / 1.034 GB, free: 0.9766 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.5533, allocations: 4 kB / 1.034 GB, free: 0.9727 MB / 0.7794 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.001248/0.5546, allocations: 0.6459 MB / 1.035 GB, free: 284 kB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.5546, allocations: 8.031 kB / 1.035 GB, free: 276 kB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.112e-05/0.5547, allocations: 34.75 kB / 1.035 GB, free: 232 kB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.814e-05/0.5548, allocations: 36.56 kB / 1.035 GB, free: 196 kB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004414/0.5552, allocations: 370.3 kB / 1.035 GB, free: 15.79 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.5552, allocations: 8.375 kB / 1.035 GB, free: 15.78 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.5552, allocations: 4.375 kB / 1.035 GB, free: 15.78 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.5554, allocations: 105.2 kB / 1.036 GB, free: 15.66 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.5554, allocations: 0 / 1.036 GB, free: 15.66 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.5554, allocations: 0 / 1.036 GB, free: 15.66 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.5554, allocations: 8 kB / 1.036 GB, free: 15.65 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.095e-05/0.5555, allocations: 67.86 kB / 1.036 GB, free: 15.58 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003437/0.5559, allocations: 336 kB / 1.036 GB, free: 15.2 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.556, allocations: 118.3 kB / 1.036 GB, free: 15.04 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.447e-05/0.5561, allocations: 63.39 kB / 1.036 GB, free: 14.97 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.5561, allocations: 3.984 kB / 1.036 GB, free: 14.96 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.5561, allocations: 42.5 kB / 1.036 GB, free: 14.91 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.5561, allocations: 4 kB / 1.036 GB, free: 14.91 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0003324/0.5565, allocations: 181.1 kB / 1.036 GB, free: 14.73 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.189e-05/0.5565, allocations: 132.5 kB / 1.036 GB, free: 14.57 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005325/0.5571, allocations: 0.5092 MB / 1.037 GB, free: 14.05 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.5571, allocations: 29.64 kB / 1.037 GB, free: 14.02 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.5572, allocations: 152.9 kB / 1.037 GB, free: 13.86 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.305e-05/0.5573, allocations: 15.8 kB / 1.037 GB, free: 13.85 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.487e-05/0.5573, allocations: 49.7 kB / 1.037 GB, free: 13.79 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.5574, allocations: 346.8 kB / 1.038 GB, free: 13.45 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.5576, allocations: 95.92 kB / 1.038 GB, free: 13.35 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/0.5577, allocations: 156.7 kB / 1.038 GB, free: 13.18 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002726/0.558, allocations: 239.2 kB / 1.038 GB, free: 12.93 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.558, allocations: 4 kB / 1.038 GB, free: 12.93 MB / 0.795 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003697/0.5584, allocations: 293 kB / 1.038 GB, free: 12.63 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.5584, allocations: 6.031 kB / 1.038 GB, free: 12.63 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.5584, allocations: 4 kB / 1.038 GB, free: 12.62 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.5585, allocations: 3.984 kB / 1.038 GB, free: 12.62 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.5586, allocations: 19.92 kB / 1.038 GB, free: 12.6 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.5586, allocations: 4 kB / 1.038 GB, free: 12.6 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001569/0.5587, allocations: 19.83 kB / 1.038 GB, free: 12.58 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.5588, allocations: 8 kB / 1.038 GB, free: 12.57 MB / 0.795 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.000145/0.5589, allocations: 177.8 kB / 1.039 GB, free: 12.39 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.723e-05/0.559, allocations: 39.47 kB / 1.039 GB, free: 12.35 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002847/0.5593, allocations: 179.7 kB / 1.039 GB, free: 12.16 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.5593, allocations: 12.06 kB / 1.039 GB, free: 12.15 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.5593, allocations: 0 / 1.039 GB, free: 12.15 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.5593, allocations: 0 / 1.039 GB, free: 12.15 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002349/0.5595, allocations: 293.4 kB / 1.039 GB, free: 11.82 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.5595, allocations: 0 / 1.039 GB, free: 11.82 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.432e-05/0.5596, allocations: 23.86 kB / 1.039 GB, free: 11.79 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.5596, allocations: 4 kB / 1.039 GB, free: 11.79 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.5597, allocations: 0 / 1.039 GB, free: 11.79 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.5597, allocations: 4 kB / 1.039 GB, free: 11.79 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.5597, allocations: 0 / 1.039 GB, free: 11.79 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002152/0.5599, allocations: 187.5 kB / 1.039 GB, free: 11.57 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.56, allocations: 136.6 kB / 1.039 GB, free: 11.42 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.702e-05/0.5601, allocations: 11.89 kB / 1.039 GB, free: 11.41 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.5602, allocations: 15.98 kB / 1.039 GB, free: 11.39 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.729e-05/0.5602, allocations: 15.92 kB / 1.039 GB, free: 11.38 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.5602, allocations: 0 / 1.039 GB, free: 11.38 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003855/0.5606, allocations: 379 kB / 1.04 GB, free: 11.01 MB / 0.795 GB Notification: Performance of sort global known variables: time 3.9e-07/0.5606, allocations: 0 / 1.04 GB, free: 11.01 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000416/0.5611, allocations: 103.9 kB / 1.04 GB, free: 10.91 MB / 0.795 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.004629/0.5657, allocations: 3.438 MB / 1.043 GB, free: 7.43 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002873/0.566, allocations: 171.8 kB / 1.043 GB, free: 7.262 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.566, allocations: 0 / 1.043 GB, free: 7.262 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 6.368e-05/0.5661, allocations: 43.91 kB / 1.043 GB, free: 7.219 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.5664, allocations: 49.89 kB / 1.043 GB, free: 7.172 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003627/0.57, allocations: 3.485 MB / 1.047 GB, free: 3.562 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.5703, allocations: 0.8182 MB / 1.048 GB, free: 2.719 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001196/0.5705, allocations: 45.92 kB / 1.048 GB, free: 2.676 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.5706, allocations: 75.41 kB / 1.048 GB, free: 2.602 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.5706, allocations: 3.938 kB / 1.048 GB, free: 2.598 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.147/2.718, allocations: 10.68 MB / 1.058 GB, free: 8.078 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.332/10.05, allocations: 11.14 kB / 1.058 GB, free: 8.07 MB / 0.8106 GB (rm -f Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.fmu > Buildings_10_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1)