Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001103, allocations: 100.1 kB / 15.88 MB, free: 4 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.001247/0.001247, allocations: 200.3 kB / 16.8 MB, free: 6.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 222.9 MB / 240.5 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9626/0.9626, allocations: 135.1 MB / 425.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 60.34 kB / 0.5053 GB, free: 5.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1844, allocations: 80.92 MB / 0.5844 GB, free: 5.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003378/0.1878, allocations: 1.911 MB / 0.5862 GB, free: 3.078 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002144/0.19, allocations: 1.545 MB / 0.5877 GB, free: 1.527 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.384e-05/0.1901, allocations: 0 / 0.5877 GB, free: 1.527 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002631/0.1904, allocations: 27.84 kB / 0.5878 GB, free: 1.5 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000243/0.1906, allocations: 55.77 kB / 0.5878 GB, free: 1.445 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004075/0.1911, allocations: 162.7 kB / 0.588 GB, free: 1.289 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000285/0.1913, allocations: 249.4 kB / 0.5882 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.1915, allocations: 37.31 kB / 0.5882 GB, free: 1.012 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.293e-05/0.1916, allocations: 79.81 kB / 0.5883 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000211/0.1918, allocations: 95.7 kB / 0.5884 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.165e-05/0.1918, allocations: 16 kB / 0.5884 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000156/0.192, allocations: 75.91 kB / 0.5885 GB, free: 0.75 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.922e-05/0.1921, allocations: 75.8 kB / 0.5886 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.1922, allocations: 115.2 kB / 0.5887 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002592/0.1925, allocations: 219.6 kB / 0.5889 GB, free: 356 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.1925, allocations: 3.938 kB / 0.5889 GB, free: 352 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1925, allocations: 4 kB / 0.5889 GB, free: 348 kB / 494.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.1925, allocations: 0 / 0.5889 GB, free: 348 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008347/0.1934, allocations: 0.55 MB / 0.5894 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.1934, allocations: 20.02 kB / 0.5894 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001715/0.1936, allocations: 32.59 kB / 0.5895 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/0.1939, allocations: 274.7 kB / 0.5897 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.1939, allocations: 12.38 kB / 0.5897 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.268e-05/0.194, allocations: 20.12 kB / 0.5898 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003968/0.1944, allocations: 228.8 kB / 0.59 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.1944, allocations: 0 / 0.59 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.149e-05/0.1944, allocations: 19.98 kB / 0.59 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.1945, allocations: 4 kB / 0.59 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009073/0.1954, allocations: 0.7412 MB / 0.5907 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.1964, allocations: 0.629 MB / 0.5913 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005044/0.197, allocations: 313.9 kB / 0.5916 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001689/0.1971, allocations: 109.4 kB / 0.5918 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.712e-05/0.1972, allocations: 20.25 kB / 0.5918 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003901/0.1976, allocations: 183.4 kB / 0.5919 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 1.583e-06/0.1976, allocations: 4 kB / 0.5919 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.0006696/0.1983, allocations: 374.4 kB / 0.5923 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.014e-05/0.1984, allocations: 136.5 kB / 0.5924 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002876/0.1987, allocations: 309 kB / 0.5927 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/0.1987, allocations: 33.7 kB / 0.5928 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.114e-05/0.1988, allocations: 132.6 kB / 0.5929 GB, free: 12 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.052e-05/0.1989, allocations: 114.3 kB / 0.593 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.587e-05/0.199, allocations: 65.69 kB / 0.5931 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.1991, allocations: 342.8 kB / 0.5934 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.1993, allocations: 79.95 kB / 0.5935 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001901/0.1995, allocations: 133.8 kB / 0.5936 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003187/0.1998, allocations: 213.1 kB / 0.5938 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1998, allocations: 0 / 0.5938 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004182/0.2002, allocations: 285 kB / 0.5941 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.2003, allocations: 4 kB / 0.5941 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.2003, allocations: 0 / 0.5941 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.2003, allocations: 7.938 kB / 0.5941 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002192/0.2005, allocations: 63.91 kB / 0.5941 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.2005, allocations: 0 / 0.5941 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.2007, allocations: 35.67 kB / 0.5942 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/0.2007, allocations: 11.98 kB / 0.5942 GB, free: 10.64 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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 prepare postOptimizeDAE: time 0.0001595/0.2009, allocations: 165.7 kB / 0.5943 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.536e-05/0.201, allocations: 31.72 kB / 0.5944 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006753/0.2016, allocations: 388.8 kB / 0.5947 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/0.2017, allocations: 7.938 kB / 0.5948 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.2017, allocations: 0 / 0.5948 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.2017, allocations: 3.984 kB / 0.5948 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003302/0.202, allocations: 341.2 kB / 0.5951 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.202, allocations: 0 / 0.5951 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.2022, allocations: 59.91 kB / 0.5951 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.2022, allocations: 4 kB / 0.5951 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/0.2022, allocations: 11.98 kB / 0.5952 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.2022, allocations: 7.938 kB / 0.5952 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2023, allocations: 0 / 0.5952 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004705/0.2027, allocations: 321.7 kB / 0.5955 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.2029, allocations: 144.7 kB / 0.5956 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.532e-05/0.2029, allocations: 8 kB / 0.5956 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.2031, allocations: 26.59 kB / 0.5956 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.441e-05/0.2032, allocations: 31.81 kB / 0.5957 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.643e-05/0.2032, allocations: 16 kB / 0.5957 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002078/0.2034, allocations: 236.4 kB / 0.5959 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2034, allocations: 0 / 0.5959 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002993/0.2037, allocations: 71.84 kB / 0.596 GB, free: 8.695 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0009745/0.2047, allocations: 412.8 kB / 0.5964 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004022/0.2051, allocations: 232.1 kB / 0.5966 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.2051, allocations: 4 kB / 0.5966 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001921/0.2053, allocations: 131.8 kB / 0.5967 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.2057, allocations: 41.03 kB / 0.5968 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009062/0.2066, allocations: 0.6362 MB / 0.5974 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.2069, allocations: 0.7621 MB / 0.5981 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.207, allocations: 51.41 kB / 0.5982 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of SimCode: time 5.61e-07/0.207, allocations: 4 kB / 0.5982 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of Templates: time 0.006951/0.214, allocations: 4.456 MB / 0.6025 GB, free: 2.105 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)