Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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.CorrectedConvection,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",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.0008453/0.0008454, allocations: 90.52 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.005062/0.005062, allocations: 171.6 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.194/1.194, allocations: 205.4 MB / 222.5 MB, free: 5.555 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.501/1.501, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0004895/0.0004896, allocations: 13.28 kB / 0.6744 GB, free: 25.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.176, allocations: 116.3 MB / 0.788 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.001441/0.1775, allocations: 1.306 MB / 0.7893 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001238/0.1788, allocations: 0.9318 MB / 0.7902 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.576e-05/0.1789, allocations: 4 kB / 0.7902 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002208/0.1791, allocations: 55.7 kB / 0.7902 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003881/0.1795, allocations: 131.5 kB / 0.7904 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.034e-05/0.1795, allocations: 11.98 kB / 0.7904 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003127/0.1798, allocations: 358.3 kB / 0.7907 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.471e-05/0.1799, allocations: 44.73 kB / 0.7907 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001845/0.1801, allocations: 135.2 kB / 0.7909 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001707/0.1803, allocations: 127.4 kB / 0.791 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.403e-05/0.1803, allocations: 12 kB / 0.791 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003056/0.1834, allocations: 0.6602 MB / 0.7917 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.744e-05/0.1835, allocations: 47.7 kB / 0.7917 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.1836, allocations: 156.9 kB / 0.7919 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01176/0.1954, allocations: 13.29 MB / 0.8048 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1954, allocations: 4 kB / 0.8048 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1954, allocations: 0 / 0.8048 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.503e-06/0.1954, allocations: 0 / 0.8048 GB, free: 10.14 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.001144/0.1965, allocations: 0.6071 MB / 0.8054 GB, free: 9.484 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.1966, allocations: 11.97 kB / 0.8054 GB, free: 9.473 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.31e-05/0.1966, allocations: 30.75 kB / 0.8055 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.514e-05/0.1967, allocations: 32.56 kB / 0.8055 GB, free: 9.402 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003986/0.1971, allocations: 366.4 kB / 0.8058 GB, free: 9.008 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.1971, allocations: 8.375 kB / 0.8059 GB, free: 9 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.1971, allocations: 4.375 kB / 0.8059 GB, free: 8.996 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.1973, allocations: 105.1 kB / 0.806 GB, free: 8.875 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.1973, allocations: 0 / 0.806 GB, free: 8.875 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.1973, allocations: 4 kB / 0.806 GB, free: 8.871 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.1973, allocations: 0 / 0.806 GB, free: 8.871 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.778e-05/0.1974, allocations: 67.86 kB / 0.806 GB, free: 8.805 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003314/0.1977, allocations: 352 kB / 0.8064 GB, free: 8.402 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.1979, allocations: 102.4 kB / 0.8065 GB, free: 8.266 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.27e-05/0.1979, allocations: 67.39 kB / 0.8065 GB, free: 8.188 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.198, allocations: 4 kB / 0.8065 GB, free: 8.184 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.198, allocations: 38.5 kB / 0.8066 GB, free: 8.137 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=4): time 9.61e-07/0.198, allocations: 0 / 0.8066 GB, free: 8.137 MB / 0.6231 GB Notification: Performance of matching and sorting (n=4): time 0.0002904/0.1983, allocations: 189.1 kB / 0.8067 GB, free: 7.945 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.1983, allocations: 136.5 kB / 0.8069 GB, free: 7.781 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004971/0.1988, allocations: 0.5013 MB / 0.8074 GB, free: 7.27 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.1989, allocations: 30.2 kB / 0.8074 GB, free: 7.234 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.199, allocations: 160.4 kB / 0.8075 GB, free: 7.07 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/0.199, allocations: 15.81 kB / 0.8076 GB, free: 7.055 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.852e-05/0.199, allocations: 25.7 kB / 0.8076 GB, free: 7.023 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.717e-05/0.1992, allocations: 338.8 kB / 0.8079 GB, free: 6.684 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.1993, allocations: 123.9 kB / 0.808 GB, free: 6.562 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001745/0.1995, allocations: 185.6 kB / 0.8082 GB, free: 6.359 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002909/0.1998, allocations: 271.1 kB / 0.8085 GB, free: 6.082 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1998, allocations: 0 / 0.8085 GB, free: 6.082 MB / 0.6231 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003914/0.2002, allocations: 329 kB / 0.8088 GB, free: 5.754 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.2002, allocations: 10.97 kB / 0.8088 GB, free: 5.746 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2002, allocations: 0 / 0.8088 GB, free: 5.746 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.2002, allocations: 0 / 0.8088 GB, free: 5.746 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.2004, allocations: 23.98 kB / 0.8088 GB, free: 5.723 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.2004, allocations: 0 / 0.8088 GB, free: 5.723 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001587/0.2005, allocations: 23.83 kB / 0.8088 GB, free: 5.699 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.2006, allocations: 7.984 kB / 0.8088 GB, free: 5.691 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.0001352/0.2007, allocations: 181.7 kB / 0.809 GB, free: 5.504 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.208e-05/0.2007, allocations: 31.8 kB / 0.809 GB, free: 5.473 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002773/0.201, allocations: 195.6 kB / 0.8092 GB, free: 5.27 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.201, allocations: 0 / 0.8092 GB, free: 5.27 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.201, allocations: 0 / 0.8092 GB, free: 5.27 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.2011, allocations: 4 kB / 0.8092 GB, free: 5.266 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/0.2013, allocations: 297.5 kB / 0.8095 GB, free: 4.926 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2013, allocations: 0 / 0.8095 GB, free: 4.926 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.974e-05/0.2014, allocations: 19.92 kB / 0.8095 GB, free: 4.906 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.2014, allocations: 0 / 0.8095 GB, free: 4.906 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.2014, allocations: 4 kB / 0.8095 GB, free: 4.902 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.2014, allocations: 0 / 0.8095 GB, free: 4.902 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2014, allocations: 0 / 0.8095 GB, free: 4.902 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002019/0.2016, allocations: 195.2 kB / 0.8097 GB, free: 4.684 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.2017, allocations: 136.6 kB / 0.8099 GB, free: 4.531 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.67e-05/0.2018, allocations: 0 / 0.8099 GB, free: 4.531 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.2019, allocations: 7.984 kB / 0.8099 GB, free: 4.523 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.044e-05/0.2019, allocations: 12 kB / 0.8099 GB, free: 4.512 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.2019, allocations: 7.984 kB / 0.8099 GB, free: 4.504 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000365/0.2023, allocations: 375.1 kB / 0.8102 GB, free: 4.145 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2023, allocations: 0 / 0.8102 GB, free: 4.145 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004105/0.2027, allocations: 107.9 kB / 0.8103 GB, free: 4.039 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.004724/0.2075, allocations: 3.434 MB / 0.8137 GB, free: 0.5625 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002795/0.2078, allocations: 195.8 kB / 0.8139 GB, free: 380 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.2078, allocations: 0 / 0.8139 GB, free: 380 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 6e-05/0.2078, allocations: 51.84 kB / 0.8139 GB, free: 328 kB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.2082, allocations: 52.22 kB / 0.814 GB, free: 276 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003889/0.2121, allocations: 3.711 MB / 0.8176 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.2124, allocations: 0.8107 MB / 0.8184 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001165/0.2125, allocations: 50.28 kB / 0.8184 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.2126, allocations: 79.41 kB / 0.8185 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of SimCode: time 3.11e-07/0.2126, allocations: 0 / 0.8185 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.414/1.626, allocations: 10.52 MB / 0.8288 GB, free: 1.172 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002925/1.627, allocations: 228.7 kB / 0.829 GB, free: 0.918 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.859/3.486, allocations: 10.83 kB / 0.829 GB, free: 0.9102 MB / 0.6387 GB (rm -f Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.fmu > Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1)