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: translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001461/0.001461, 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.001819/0.001819, allocations: 191.6 kB / 16.53 MB, free: 6.391 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.391/1.391, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.762/1.762, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001531/0.001531, allocations: 61.67 kB / 0.6715 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.271, allocations: 114.5 MB / 0.7833 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.003126/0.2742, allocations: 1.583 MB / 0.7849 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001503/0.2757, allocations: 0.9599 MB / 0.7858 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.74e-05/0.2758, allocations: 0 / 0.7858 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002691/0.2761, allocations: 67.64 kB / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000441/0.2765, allocations: 147.3 kB / 0.786 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.515e-05/0.2766, allocations: 11.92 kB / 0.786 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003983/0.277, allocations: 358.3 kB / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.484e-05/0.2771, allocations: 44.73 kB / 0.7864 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001969/0.2773, allocations: 139.4 kB / 0.7866 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000191/0.2775, allocations: 143.3 kB / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.693e-05/0.2775, allocations: 16 kB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00288/0.2804, allocations: 0.5668 MB / 0.7873 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.255e-05/0.2805, allocations: 51.72 kB / 0.7873 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000146/0.2807, allocations: 135.2 kB / 0.7874 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01457/0.2952, allocations: 13.22 MB / 0.8004 GB, free: 12 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.2953, allocations: 3.938 kB / 0.8004 GB, free: 12 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.345e-06/0.2953, allocations: 4 kB / 0.8004 GB, free: 12 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.938e-06/0.2953, allocations: 0 / 0.8004 GB, free: 12 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.001584/0.2969, allocations: 0.642 MB / 0.801 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.297, allocations: 12.03 kB / 0.801 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.092e-05/0.2971, allocations: 36.5 kB / 0.801 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005398/0.2976, allocations: 378.2 kB / 0.8014 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.2976, allocations: 384 / 0.8014 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.2977, allocations: 8.375 kB / 0.8014 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.2979, allocations: 105.3 kB / 0.8015 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.2979, allocations: 0 / 0.8015 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.2979, allocations: 0 / 0.8015 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.2979, allocations: 4 kB / 0.8015 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/0.298, allocations: 71.86 kB / 0.8016 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004181/0.2985, allocations: 340.1 kB / 0.8019 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.2986, allocations: 110.4 kB / 0.802 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.729e-05/0.2987, allocations: 63.39 kB / 0.8021 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.2987, allocations: 4 kB / 0.8021 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.2988, allocations: 34.5 kB / 0.8021 GB, free: 9.992 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.2988, allocations: 4 kB / 0.8021 GB, free: 9.988 MB / 0.6231 GB Notification: Performance of matching and sorting (n=4): time 0.0003686/0.2992, allocations: 185.1 kB / 0.8023 GB, free: 9.801 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.686e-05/0.2993, allocations: 132.5 kB / 0.8024 GB, free: 9.641 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006774/0.2999, allocations: 0.5014 MB / 0.8029 GB, free: 9.133 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.3, allocations: 25.7 kB / 0.8029 GB, free: 9.102 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.3001, allocations: 156.3 kB / 0.8031 GB, free: 8.945 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.3001, allocations: 20.33 kB / 0.8031 GB, free: 8.926 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.602e-05/0.3002, allocations: 53.61 kB / 0.8031 GB, free: 8.867 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.3004, allocations: 342.8 kB / 0.8035 GB, free: 8.523 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.3006, allocations: 95.92 kB / 0.8036 GB, free: 8.43 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/0.3007, allocations: 165.6 kB / 0.8037 GB, free: 8.246 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003144/0.3011, allocations: 239.2 kB / 0.804 GB, free: 8 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.107e-05/0.3011, allocations: 7.938 kB / 0.804 GB, free: 7.992 MB / 0.6231 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004053/0.3015, allocations: 289.1 kB / 0.8042 GB, free: 7.703 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.3015, allocations: 12.86 kB / 0.8042 GB, free: 7.691 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.3015, allocations: 0 / 0.8042 GB, free: 7.691 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.3015, allocations: 4.234 kB / 0.8043 GB, free: 7.688 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.3017, allocations: 19.98 kB / 0.8043 GB, free: 7.668 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.3017, allocations: 4 kB / 0.8043 GB, free: 7.664 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.3019, allocations: 23.77 kB / 0.8043 GB, free: 7.641 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.3019, allocations: 8 kB / 0.8043 GB, free: 7.633 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.0001728/0.3021, allocations: 181.8 kB / 0.8045 GB, free: 7.445 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.638e-05/0.3021, allocations: 35.55 kB / 0.8045 GB, free: 7.41 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003252/0.3025, allocations: 183.6 kB / 0.8047 GB, free: 7.219 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-06/0.3025, allocations: 128 / 0.8047 GB, free: 7.219 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.3025, allocations: 4 kB / 0.8047 GB, free: 7.215 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3025, allocations: 4 kB / 0.8047 GB, free: 7.211 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002655/0.3028, allocations: 293.4 kB / 0.805 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.3028, allocations: 3.984 kB / 0.805 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.581e-05/0.3029, allocations: 16 kB / 0.805 GB, free: 6.855 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.3029, allocations: 3.938 kB / 0.805 GB, free: 6.852 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.3029, allocations: 4 kB / 0.805 GB, free: 6.848 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3029, allocations: 0 / 0.805 GB, free: 6.848 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/0.3029, allocations: 3.938 kB / 0.805 GB, free: 6.844 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/0.3032, allocations: 191.2 kB / 0.8052 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.3033, allocations: 132.6 kB / 0.8053 GB, free: 6.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.868e-05/0.3034, allocations: 4 kB / 0.8053 GB, free: 6.477 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.3035, allocations: 7.984 kB / 0.8053 GB, free: 6.469 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.659e-05/0.3035, allocations: 11.98 kB / 0.8053 GB, free: 6.457 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.3035, allocations: 8 kB / 0.8053 GB, free: 6.449 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004886/0.304, allocations: 379 kB / 0.8057 GB, free: 6.082 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.304, allocations: 0 / 0.8057 GB, free: 6.082 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000494/0.3045, allocations: 96 kB / 0.8058 GB, free: 5.988 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.004858/0.3094, allocations: 2.815 MB / 0.8085 GB, free: 3.16 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003628/0.3098, allocations: 175.8 kB / 0.8087 GB, free: 2.988 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3098, allocations: 0 / 0.8087 GB, free: 2.988 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001706/0.31, allocations: 43.91 kB / 0.8088 GB, free: 2.945 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.3104, allocations: 68.11 kB / 0.8088 GB, free: 2.879 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009779/0.3113, allocations: 0.5957 MB / 0.8094 GB, free: 2.25 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000517/0.3119, allocations: 0.8143 MB / 0.8102 GB, free: 1.41 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001292/0.312, allocations: 54.28 kB / 0.8103 GB, free: 1.355 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.408e-05/0.3121, allocations: 19.44 kB / 0.8103 GB, free: 1.336 MB / 0.6231 GB Notification: Performance of SimCode: time 3.81e-07/0.3121, allocations: 0 / 0.8103 GB, free: 1.336 MB / 0.6231 GB Notification: Performance of Templates: time 0.01293/0.325, allocations: 7.59 MB / 0.8177 GB, free: 9.781 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile (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 & ./Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1)