Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_8_0_0_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 1.69/1.69, allocations: 287.4 MB / 302.6 MB, free: 8.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001003/0.001003, allocations: 186.3 kB / 371.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 205.4 MB / 0.6298 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008134/0.0008135, allocations: 93.05 kB / 0.7431 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004147/0.0004148, allocations: 10.59 kB / 0.8662 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1793, allocations: 115.3 MB / 0.9787 GB, free: 28.12 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.001403/0.1807, allocations: 1.352 MB / 0.98 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001598/0.1823, allocations: 1.324 MB / 0.9813 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.1825, allocations: 4 kB / 0.9813 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003272/0.1828, allocations: 67.66 kB / 0.9814 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000124/0.1829, allocations: 67.64 kB / 0.9815 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006095/0.1836, allocations: 212.9 kB / 0.9817 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.1838, allocations: 211.1 kB / 0.9819 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.452e-05/0.1838, allocations: 13.48 kB / 0.9819 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.1839, allocations: 83.62 kB / 0.982 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.184, allocations: 87.66 kB / 0.9821 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.1841, allocations: 8 kB / 0.9821 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003923/0.1845, allocations: 271.6 kB / 0.9823 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.002e-05/0.1845, allocations: 75.72 kB / 0.9824 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.57e-05/0.1846, allocations: 53.64 kB / 0.9824 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003002/0.1849, allocations: 263.4 kB / 0.9827 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1849, allocations: 0 / 0.9827 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1849, allocations: 0 / 0.9827 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.1849, allocations: 0 / 0.9827 GB, free: 24.02 MB / 0.6198 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.0006796/0.1856, allocations: 0.5336 MB / 0.9832 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.1856, allocations: 15.97 kB / 0.9832 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.43e-05/0.1857, allocations: 34.73 kB / 0.9833 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.124e-05/0.1857, allocations: 24.66 kB / 0.9833 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002942/0.186, allocations: 275.7 kB / 0.9836 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-05/0.1861, allocations: 63.91 kB / 0.9836 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.1862, allocations: 4.375 kB / 0.9836 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.1863, allocations: 93.58 kB / 0.9837 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.1864, allocations: 0 / 0.9837 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.1864, allocations: 4 kB / 0.9837 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.1864, allocations: 4 kB / 0.9837 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002025/0.1866, allocations: 107.9 kB / 0.9838 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001876/0.1868, allocations: 257.3 kB / 0.9841 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/0.188, allocations: 334.4 kB / 0.9844 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.1881, allocations: 60.83 kB / 0.9844 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001093/0.1883, allocations: 101 kB / 0.9845 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.227e-05/0.1883, allocations: 30.56 kB / 0.9846 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.1883, allocations: 0 / 0.9846 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0004157/0.1887, allocations: 221.2 kB / 0.9848 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.311e-05/0.1887, allocations: 55.41 kB / 0.9848 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002118/0.189, allocations: 303.1 kB / 0.9851 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.189, allocations: 25.7 kB / 0.9851 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.389e-05/0.189, allocations: 120.6 kB / 0.9853 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.1891, allocations: 27.64 kB / 0.9853 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/0.1891, allocations: 0 / 0.9853 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.074e-05/0.1891, allocations: 330.8 kB / 0.9856 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/0.1893, allocations: 155.9 kB / 0.9857 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/0.1895, allocations: 159.9 kB / 0.9859 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002975/0.1898, allocations: 298.1 kB / 0.9862 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1898, allocations: 0 / 0.9862 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004283/0.1902, allocations: 408.9 kB / 0.9866 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.1902, allocations: 4 kB / 0.9866 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.1903, allocations: 4 kB / 0.9866 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.1903, allocations: 0 / 0.9866 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.675e-05/0.1904, allocations: 19.98 kB / 0.9866 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1904, allocations: 0 / 0.9866 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.1905, allocations: 31.59 kB / 0.9866 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.1905, allocations: 0 / 0.9866 GB, free: 19.73 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.83e-05/0.1906, allocations: 137.8 kB / 0.9868 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.935e-05/0.1906, allocations: 23.66 kB / 0.9868 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002977/0.1909, allocations: 179.3 kB / 0.987 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1909, allocations: 3.938 kB / 0.987 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1909, allocations: 3.938 kB / 0.987 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.191, allocations: 0 / 0.987 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.1911, allocations: 237.6 kB / 0.9872 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1911, allocations: 3.938 kB / 0.9872 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.246e-05/0.1912, allocations: 19.98 kB / 0.9872 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.1912, allocations: 7.984 kB / 0.9872 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.1912, allocations: 0 / 0.9872 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1912, allocations: 0 / 0.9872 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1912, allocations: 320 / 0.9872 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.1915, allocations: 188.7 kB / 0.9874 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.207e-05/0.1916, allocations: 112.7 kB / 0.9875 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/0.1916, allocations: 4 kB / 0.9875 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.02e-05/0.1917, allocations: 4 kB / 0.9875 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.609e-05/0.1917, allocations: 3.984 kB / 0.9875 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.1917, allocations: 8 kB / 0.9875 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001236/0.1919, allocations: 193.9 kB / 0.9877 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1919, allocations: 0 / 0.9877 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003184/0.1922, allocations: 115.9 kB / 0.9878 GB, free: 18.41 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006264/0.1928, allocations: 0.811 MB / 0.9886 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003977/0.1932, allocations: 359.3 kB / 0.989 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1932, allocations: 0 / 0.989 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.1934, allocations: 67.91 kB / 0.989 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.1937, allocations: 24.64 kB / 0.989 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/0.1952, allocations: 1.531 MB / 0.9905 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001307/0.1953, allocations: 0.7395 MB / 0.9913 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.05e-05/0.1954, allocations: 21.08 kB / 0.9913 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.279e-05/0.1955, allocations: 59.41 kB / 0.9913 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.1955, allocations: 0 / 0.9913 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3379/0.5334, allocations: 5.226 MB / 0.9964 GB, free: 9.672 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001402/0.5336, allocations: 205.7 kB / 0.9966 GB, free: 9.434 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.484/3.018, allocations: 0 / 0.9966 GB, free: 9.434 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_8.0.0_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_8.0.0_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.fmu > Buildings_8.0.0_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1)