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.0007826/0.0007826, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005239/0.005239, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.41/1.41, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.709/1.709, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0005391/0.0005391, allocations: 12.75 kB / 0.6743 GB, free: 25.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.21, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.001728/0.2118, allocations: 1.306 MB / 0.7891 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001357/0.2132, allocations: 0.9279 MB / 0.79 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.2133, allocations: 4 kB / 0.79 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002733/0.2136, allocations: 51.8 kB / 0.7901 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000485/0.2141, allocations: 139.5 kB / 0.7902 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.744e-05/0.2142, allocations: 15.92 kB / 0.7902 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003515/0.2145, allocations: 354.3 kB / 0.7906 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.456e-05/0.2146, allocations: 48.73 kB / 0.7906 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002151/0.2148, allocations: 123.4 kB / 0.7907 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002151/0.2151, allocations: 135.3 kB / 0.7909 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.468e-05/0.2151, allocations: 16 kB / 0.7909 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00336/0.2185, allocations: 0.6603 MB / 0.7915 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.548e-05/0.2185, allocations: 43.7 kB / 0.7916 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.2187, allocations: 153 kB / 0.7917 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01346/0.2322, allocations: 13.28 MB / 0.8047 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.2322, allocations: 0 / 0.8047 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.174e-06/0.2322, allocations: 0 / 0.8047 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.141e-05/0.2322, allocations: 0 / 0.8047 GB, free: 10.23 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.001769/0.234, allocations: 0.6149 MB / 0.8053 GB, free: 9.566 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.2341, allocations: 8.031 kB / 0.8053 GB, free: 9.559 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.2342, allocations: 32.56 kB / 0.8053 GB, free: 9.527 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005167/0.2347, allocations: 374.3 kB / 0.8057 GB, free: 9.125 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.2348, allocations: 8.312 kB / 0.8057 GB, free: 9.117 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.2348, allocations: 4.375 kB / 0.8057 GB, free: 9.113 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.235, allocations: 105.4 kB / 0.8058 GB, free: 8.992 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.235, allocations: 0 / 0.8058 GB, free: 8.992 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.235, allocations: 7.984 kB / 0.8058 GB, free: 8.984 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.235, allocations: 0 / 0.8058 GB, free: 8.984 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.2351, allocations: 67.86 kB / 0.8059 GB, free: 8.918 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004099/0.2355, allocations: 356 kB / 0.8062 GB, free: 8.512 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.2357, allocations: 110.3 kB / 0.8063 GB, free: 8.367 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.144e-05/0.2358, allocations: 59.45 kB / 0.8064 GB, free: 8.297 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.2358, allocations: 8 kB / 0.8064 GB, free: 8.289 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.2358, allocations: 42.5 kB / 0.8064 GB, free: 8.238 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=4): time 1.143e-06/0.2358, allocations: 0 / 0.8064 GB, free: 8.238 MB / 0.6231 GB Notification: Performance of matching and sorting (n=4): time 0.0003467/0.2362, allocations: 181.1 kB / 0.8066 GB, free: 8.055 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.715e-05/0.2362, allocations: 133 kB / 0.8067 GB, free: 7.895 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005587/0.2368, allocations: 0.5092 MB / 0.8072 GB, free: 7.375 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.2368, allocations: 29.7 kB / 0.8072 GB, free: 7.34 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.237, allocations: 148.4 kB / 0.8074 GB, free: 7.188 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/0.237, allocations: 23.73 kB / 0.8074 GB, free: 7.164 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.325e-05/0.237, allocations: 25.7 kB / 0.8074 GB, free: 7.133 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.2372, allocations: 346.8 kB / 0.8078 GB, free: 6.785 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.2374, allocations: 111.9 kB / 0.8079 GB, free: 6.676 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/0.2376, allocations: 185.7 kB / 0.8081 GB, free: 6.473 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003251/0.2379, allocations: 263.2 kB / 0.8083 GB, free: 6.203 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2379, allocations: 0 / 0.8083 GB, free: 6.203 MB / 0.6231 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000464/0.2384, allocations: 325.1 kB / 0.8086 GB, free: 5.879 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.2384, allocations: 18.84 kB / 0.8086 GB, free: 5.863 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.2384, allocations: 4 kB / 0.8086 GB, free: 5.859 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.2385, allocations: 8 kB / 0.8086 GB, free: 5.852 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.2386, allocations: 19.92 kB / 0.8087 GB, free: 5.832 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.2386, allocations: 0 / 0.8087 GB, free: 5.832 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.2388, allocations: 23.81 kB / 0.8087 GB, free: 5.809 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.2388, allocations: 8 kB / 0.8087 GB, free: 5.801 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.0001642/0.239, allocations: 177.8 kB / 0.8089 GB, free: 5.617 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.034e-05/0.2391, allocations: 31.56 kB / 0.8089 GB, free: 5.586 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003263/0.2394, allocations: 187.7 kB / 0.8091 GB, free: 5.391 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.2394, allocations: 0 / 0.8091 GB, free: 5.391 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.2394, allocations: 4 kB / 0.8091 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.2394, allocations: 0 / 0.8091 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000287/0.2397, allocations: 293.4 kB / 0.8094 GB, free: 5.051 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2397, allocations: 0 / 0.8094 GB, free: 5.051 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.881e-05/0.2398, allocations: 15.98 kB / 0.8094 GB, free: 5.035 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.2398, allocations: 11.81 kB / 0.8094 GB, free: 5.023 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.2399, allocations: 8.125 kB / 0.8094 GB, free: 5.016 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.2399, allocations: 0 / 0.8094 GB, free: 5.016 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.2399, allocations: 0 / 0.8094 GB, free: 5.016 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.2401, allocations: 191.2 kB / 0.8096 GB, free: 4.801 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.2403, allocations: 136.6 kB / 0.8097 GB, free: 4.648 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.503e-05/0.2403, allocations: 8 kB / 0.8097 GB, free: 4.641 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.2405, allocations: 7.984 kB / 0.8097 GB, free: 4.633 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.946e-05/0.2405, allocations: 11.92 kB / 0.8097 GB, free: 4.621 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.2405, allocations: 4 kB / 0.8097 GB, free: 4.617 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004256/0.2409, allocations: 379 kB / 0.8101 GB, free: 4.254 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2409, allocations: 0 / 0.8101 GB, free: 4.254 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004771/0.2414, allocations: 103.9 kB / 0.8102 GB, free: 4.152 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.004573/0.246, allocations: 2.808 MB / 0.8129 GB, free: 1.332 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003359/0.2464, allocations: 192 kB / 0.8131 GB, free: 1.145 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2464, allocations: 0 / 0.8131 GB, free: 1.145 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 6.986e-05/0.2464, allocations: 56.02 kB / 0.8132 GB, free: 1.09 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004116/0.2469, allocations: 47.92 kB / 0.8132 GB, free: 1.043 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009159/0.2478, allocations: 0.688 MB / 0.8139 GB, free: 332 kB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.2481, allocations: 0.8146 MB / 0.8147 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001284/0.2483, allocations: 41.92 kB / 0.8147 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.555e-05/0.2483, allocations: 23.38 kB / 0.8147 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of SimCode: time 3.3e-07/0.2484, allocations: 0 / 0.8147 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of Templates: time 0.01199/0.2603, allocations: 7.632 MB / 0.8222 GB, free: 7.82 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: