Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.311/1.311, allocations: 251.5 MB / 266.7 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008456/0.0008455, allocations: 179.6 kB / 325.8 MB, free: 2.684 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.428/1.428, allocations: 205 MB / 0.576 GB, free: 20.93 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006546/0.0006546, allocations: 85.94 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002936/0.0002936, allocations: 9.906 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1782, allocations: 105.4 MB / 0.8962 GB, free: 68.08 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.001288/0.1795, allocations: 1.401 MB / 0.8976 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001426/0.1809, allocations: 1.462 MB / 0.899 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.95e-05/0.181, allocations: 7.938 kB / 0.899 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002716/0.1813, allocations: 79.62 kB / 0.8991 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001071/0.1814, allocations: 67.58 kB / 0.8991 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004395/0.1819, allocations: 225.5 kB / 0.8994 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.182, allocations: 263 kB / 0.8996 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.484e-05/0.1821, allocations: 9.484 kB / 0.8996 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.327e-05/0.1821, allocations: 79.64 kB / 0.8997 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.269e-05/0.1822, allocations: 91.66 kB / 0.8998 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.1823, allocations: 7.938 kB / 0.8998 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003554/0.1826, allocations: 355.5 kB / 0.9001 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.625e-05/0.1827, allocations: 71.73 kB / 0.9002 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.607e-05/0.1828, allocations: 83.48 kB / 0.9003 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003367/0.1831, allocations: 402.9 kB / 0.9007 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.1831, allocations: 0 / 0.9007 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1831, allocations: 0 / 0.9007 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.1831, allocations: 0 / 0.9007 GB, free: 63.48 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005664/0.1837, allocations: 0.5349 MB / 0.9012 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.1837, allocations: 15.97 kB / 0.9012 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.42e-05/0.1838, allocations: 30.75 kB / 0.9012 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.887e-05/0.1838, allocations: 20.66 kB / 0.9012 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.1841, allocations: 283.6 kB / 0.9015 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.944e-05/0.1842, allocations: 63.97 kB / 0.9016 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.1842, allocations: 4.375 kB / 0.9016 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.1843, allocations: 93.53 kB / 0.9017 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.701e-06/0.1844, allocations: 0 / 0.9017 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.1844, allocations: 7.984 kB / 0.9017 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-06/0.1844, allocations: 0 / 0.9017 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001869/0.1846, allocations: 103.9 kB / 0.9018 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001629/0.1847, allocations: 249.4 kB / 0.902 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/0.1859, allocations: 342.4 kB / 0.9023 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.867e-05/0.186, allocations: 60.77 kB / 0.9024 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.307e-05/0.1861, allocations: 105 kB / 0.9025 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.368e-05/0.1862, allocations: 38.56 kB / 0.9025 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 1.113e-06/0.1862, allocations: 0 / 0.9025 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.000363/0.1865, allocations: 209.3 kB / 0.9027 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.856e-05/0.1866, allocations: 51.41 kB / 0.9028 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.1868, allocations: 311.1 kB / 0.9031 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.1868, allocations: 25.7 kB / 0.9031 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.46e-05/0.1868, allocations: 128.5 kB / 0.9032 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.564e-05/0.1868, allocations: 11.81 kB / 0.9032 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/0.1869, allocations: 45.69 kB / 0.9033 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.601e-05/0.1869, allocations: 334.8 kB / 0.9036 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.1871, allocations: 155.9 kB / 0.9038 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.1873, allocations: 167.9 kB / 0.9039 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002816/0.1876, allocations: 293.4 kB / 0.9042 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1876, allocations: 7.938 kB / 0.9042 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000396/0.188, allocations: 408.8 kB / 0.9046 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.188, allocations: 4 kB / 0.9046 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.188, allocations: 3.984 kB / 0.9046 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.188, allocations: 0 / 0.9046 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.268e-05/0.1881, allocations: 20 kB / 0.9046 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1881, allocations: 3.938 kB / 0.9046 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.893e-05/0.1882, allocations: 35.52 kB / 0.9047 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.1882, allocations: 4 kB / 0.9047 GB, free: 59.12 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 6.782e-05/0.1883, allocations: 125.8 kB / 0.9048 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.067e-05/0.1883, allocations: 23.66 kB / 0.9048 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002758/0.1886, allocations: 171.5 kB / 0.905 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1886, allocations: 0 / 0.905 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.1886, allocations: 0 / 0.905 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.1886, allocations: 11.97 kB / 0.905 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/0.1888, allocations: 233.5 kB / 0.9052 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1888, allocations: 7.922 kB / 0.9052 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.824e-05/0.1888, allocations: 19.94 kB / 0.9052 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.1889, allocations: 0 / 0.9052 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.1889, allocations: 0 / 0.9052 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1889, allocations: 0 / 0.9052 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1889, allocations: 0 / 0.9052 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/0.1891, allocations: 189.2 kB / 0.9054 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.751e-05/0.1892, allocations: 112.7 kB / 0.9055 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.1892, allocations: 0 / 0.9055 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.742e-05/0.1893, allocations: 11.98 kB / 0.9055 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.1893, allocations: 8 kB / 0.9055 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/0.1893, allocations: 3.938 kB / 0.9055 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001352/0.1895, allocations: 201.9 kB / 0.9057 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.172e-06/0.1895, allocations: 0 / 0.9057 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002753/0.1898, allocations: 119.9 kB / 0.9058 GB, free: 57.81 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.0006805/0.1904, allocations: 0.8813 MB / 0.9067 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003655/0.1908, allocations: 363.2 kB / 0.907 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1908, allocations: 0 / 0.907 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.1909, allocations: 59.97 kB / 0.9071 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.1912, allocations: 36.61 kB / 0.9071 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002015/0.1932, allocations: 2.704 MB / 0.9098 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000157/0.1934, allocations: 0.7395 MB / 0.9105 GB, free: 52.87 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.305e-05/0.1935, allocations: 21.08 kB / 0.9105 GB, free: 52.85 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.476e-05/0.1935, allocations: 59.41 kB / 0.9106 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.1935, allocations: 0 / 0.9106 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1995/0.3931, allocations: 5.416 MB / 0.9159 GB, free: 47.59 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001389/0.3932, allocations: 240.7 kB / 0.9161 GB, free: 47.33 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.889/2.282, allocations: 0 / 0.9161 GB, free: 47.33 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1)