Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,fileNamePrefix="Buildings_8_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.001175/0.001175, allocations: 108 kB / 15.61 MB, free: 152 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.001197/0.001197, allocations: 195.4 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.192/1.192, allocations: 205.1 MB / 222.4 MB, free: 4.613 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.526/1.526, allocations: 292.3 MB / 0.5489 GB, free: 12.86 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 68.8 kB / 0.6716 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.1876, allocations: 114.5 MB / 0.7835 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002388/0.1901, allocations: 1.587 MB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001123/0.1912, allocations: 0.9521 MB / 0.7859 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.775e-05/0.1913, allocations: 0 / 0.7859 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002058/0.1915, allocations: 63.64 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003785/0.1919, allocations: 155.3 kB / 0.7861 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 2.914e-05/0.1919, allocations: 7.938 kB / 0.7862 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003207/0.1922, allocations: 366.3 kB / 0.7865 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.045e-05/0.1923, allocations: 40.75 kB / 0.7865 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.1925, allocations: 143.3 kB / 0.7867 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.1927, allocations: 131.4 kB / 0.7868 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.354e-05/0.1927, allocations: 16 kB / 0.7868 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002747/0.1954, allocations: 0.5629 MB / 0.7874 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.463e-05/0.1955, allocations: 59.69 kB / 0.7874 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.1956, allocations: 131.2 kB / 0.7876 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01325/0.2089, allocations: 13.23 MB / 0.8005 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.2089, allocations: 0 / 0.8005 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2089, allocations: 0 / 0.8005 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.906e-06/0.2089, allocations: 0 / 0.8005 GB, free: 11.91 MB / 0.6231 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.001196/0.2101, allocations: 0.6575 MB / 0.8011 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.2102, allocations: 8.031 kB / 0.8011 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.237e-05/0.2102, allocations: 38.73 kB / 0.8012 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.547e-05/0.2103, allocations: 32.56 kB / 0.8012 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004036/0.2107, allocations: 374.2 kB / 0.8015 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.2107, allocations: 8.375 kB / 0.8016 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.2107, allocations: 8.312 kB / 0.8016 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.2109, allocations: 101.2 kB / 0.8017 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.2109, allocations: 0 / 0.8017 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.2109, allocations: 3.984 kB / 0.8017 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.2109, allocations: 0 / 0.8017 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.806e-05/0.211, allocations: 67.88 kB / 0.8017 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003129/0.2113, allocations: 336.1 kB / 0.802 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.2115, allocations: 114.3 kB / 0.8022 GB, free: 9.977 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.968e-05/0.2115, allocations: 59.47 kB / 0.8022 GB, free: 9.906 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.2116, allocations: 0 / 0.8022 GB, free: 9.906 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.2116, allocations: 46.48 kB / 0.8023 GB, free: 9.852 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.2116, allocations: 0 / 0.8023 GB, free: 9.852 MB / 0.6231 GB Notification: Performance of matching and sorting (n=4): time 0.0002989/0.2119, allocations: 185 kB / 0.8024 GB, free: 9.664 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.329e-05/0.212, allocations: 132.5 kB / 0.8026 GB, free: 9.504 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004732/0.2124, allocations: 0.4981 MB / 0.803 GB, free: 9 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.2125, allocations: 33.7 kB / 0.8031 GB, free: 8.961 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 9.804e-05/0.2126, allocations: 160.3 kB / 0.8032 GB, free: 8.801 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.2126, allocations: 11.75 kB / 0.8032 GB, free: 8.789 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.387e-05/0.2127, allocations: 49.69 kB / 0.8033 GB, free: 8.734 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.2128, allocations: 350.8 kB / 0.8036 GB, free: 8.383 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.2129, allocations: 95.92 kB / 0.8037 GB, free: 8.289 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.213, allocations: 165.3 kB / 0.8039 GB, free: 8.105 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002588/0.2133, allocations: 243.2 kB / 0.8041 GB, free: 7.855 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2133, allocations: 0 / 0.8041 GB, free: 7.855 MB / 0.6231 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003523/0.2137, allocations: 293 kB / 0.8044 GB, free: 7.562 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.2137, allocations: 4 kB / 0.8044 GB, free: 7.559 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.2137, allocations: 0 / 0.8044 GB, free: 7.559 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.2137, allocations: 4 kB / 0.8044 GB, free: 7.555 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.2138, allocations: 23.92 kB / 0.8044 GB, free: 7.531 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.2139, allocations: 0 / 0.8044 GB, free: 7.531 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.214, allocations: 23.83 kB / 0.8044 GB, free: 7.508 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.214, allocations: 11.98 kB / 0.8045 GB, free: 7.496 MB / 0.6231 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.0001308/0.2142, allocations: 174.4 kB / 0.8046 GB, free: 7.316 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.348e-05/0.2142, allocations: 39.55 kB / 0.8047 GB, free: 7.277 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002761/0.2145, allocations: 183.7 kB / 0.8048 GB, free: 7.086 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2145, allocations: 240 / 0.8048 GB, free: 7.086 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.2145, allocations: 4 kB / 0.8048 GB, free: 7.082 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.2145, allocations: 3.984 kB / 0.8048 GB, free: 7.078 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002162/0.2148, allocations: 293.4 kB / 0.8051 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.2148, allocations: 0 / 0.8051 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.548e-05/0.2148, allocations: 19.92 kB / 0.8051 GB, free: 6.723 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.2149, allocations: 0 / 0.8051 GB, free: 6.723 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.2149, allocations: 4 kB / 0.8051 GB, free: 6.719 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.2149, allocations: 8.062 kB / 0.8051 GB, free: 6.711 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.2149, allocations: 4 kB / 0.8052 GB, free: 6.707 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002024/0.2151, allocations: 187.2 kB / 0.8053 GB, free: 6.496 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.2152, allocations: 140.6 kB / 0.8055 GB, free: 6.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.225e-05/0.2153, allocations: 0 / 0.8055 GB, free: 6.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.2154, allocations: 15.98 kB / 0.8055 GB, free: 6.324 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.993e-05/0.2154, allocations: 11.92 kB / 0.8055 GB, free: 6.312 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.2154, allocations: 4 kB / 0.8055 GB, free: 6.309 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000359/0.2158, allocations: 375.1 kB / 0.8059 GB, free: 5.945 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2158, allocations: 0 / 0.8059 GB, free: 5.945 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003888/0.2162, allocations: 104 kB / 0.806 GB, free: 5.844 MB / 0.6231 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.004545/0.2208, allocations: 3.442 MB / 0.8093 GB, free: 2.359 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000273/0.221, allocations: 175.7 kB / 0.8095 GB, free: 2.188 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.221, allocations: 0 / 0.8095 GB, free: 2.188 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 6.182e-05/0.2211, allocations: 47.91 kB / 0.8095 GB, free: 2.141 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.2214, allocations: 60.16 kB / 0.8096 GB, free: 2.082 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003452/0.2249, allocations: 3.481 MB / 0.813 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.2252, allocations: 0.822 MB / 0.8138 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001149/0.2253, allocations: 46.3 kB / 0.8138 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.2254, allocations: 83.39 kB / 0.8139 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of SimCode: time 2.61e-07/0.2255, allocations: 4 kB / 0.8139 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02571/0.2512, allocations: 10.65 MB / 0.8243 GB, free: 3.02 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.799/9.05, allocations: 11.98 kB / 0.8243 GB, free: 3.008 MB / 0.6387 GB (rm -f Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.fmu > Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1)