Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001362/0.001362, allocations: 116.4 kB / 16.37 MB, free: 6 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.001483/0.001483, allocations: 193.5 kB / 17.31 MB, free: 5.613 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.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7618/0.7618, allocations: 132.2 MB / 423.3 MB, free: 6.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 63.91 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.3791, allocations: 80.18 MB / 0.5815 GB, free: 27.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003012/0.3821, allocations: 1.87 MB / 0.5833 GB, free: 26.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00181/0.3839, allocations: 1.573 MB / 0.5849 GB, free: 24.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.3841, allocations: 1.156 kB / 0.5849 GB, free: 24.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002086/0.3843, allocations: 31.83 kB / 0.5849 GB, free: 24.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000276/0.3846, allocations: 76.53 kB / 0.585 GB, free: 24.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003868/0.385, allocations: 170.4 kB / 0.5851 GB, free: 24.71 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002537/0.3853, allocations: 279.6 kB / 0.5854 GB, free: 24.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.3854, allocations: 28.55 kB / 0.5854 GB, free: 24.53 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.534e-05/0.3855, allocations: 92.92 kB / 0.5855 GB, free: 24.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002142/0.3857, allocations: 108.6 kB / 0.5856 GB, free: 24.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.957e-05/0.3857, allocations: 23.05 kB / 0.5856 GB, free: 24.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001646/0.3859, allocations: 76.8 kB / 0.5857 GB, free: 24.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.386, allocations: 92.45 kB / 0.5858 GB, free: 24.33 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.783e-05/0.3861, allocations: 113.8 kB / 0.5859 GB, free: 24.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002939/0.3864, allocations: 321.6 kB / 0.5862 GB, free: 24.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3864, allocations: 2.219 kB / 0.5862 GB, free: 24.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3865, allocations: 0 / 0.5862 GB, free: 24.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.3865, allocations: 0.5 kB / 0.5862 GB, free: 24.04 MB / 446.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.0006592/0.3871, allocations: 0.5613 MB / 0.5868 GB, free: 23.51 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.3872, allocations: 10.72 kB / 0.5868 GB, free: 23.51 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001444/0.3873, allocations: 31.72 kB / 0.5868 GB, free: 23.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.3876, allocations: 275.7 kB / 0.5871 GB, free: 23.22 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.3876, allocations: 19.78 kB / 0.5871 GB, free: 23.21 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.025e-05/0.3876, allocations: 18.12 kB / 0.5871 GB, free: 23.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003193/0.388, allocations: 232.1 kB / 0.5873 GB, free: 23.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.388, allocations: 0.8125 kB / 0.5873 GB, free: 23.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/0.388, allocations: 7.125 kB / 0.5873 GB, free: 23.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.388, allocations: 4.594 kB / 0.5873 GB, free: 23.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007465/0.3888, allocations: 0.7508 MB / 0.5881 GB, free: 22.69 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008624/0.3896, allocations: 0.6317 MB / 0.5887 GB, free: 22.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004362/0.3901, allocations: 304.2 kB / 0.589 GB, free: 22.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.3902, allocations: 106.9 kB / 0.5891 GB, free: 21.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.584e-05/0.3903, allocations: 24.12 kB / 0.5891 GB, free: 21.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002684/0.3906, allocations: 179.2 kB / 0.5893 GB, free: 21.83 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 1.744e-06/0.3906, allocations: 0 / 0.5893 GB, free: 21.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.0006043/0.3912, allocations: 385.1 kB / 0.5896 GB, free: 21.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.3912, allocations: 132.3 kB / 0.5898 GB, free: 21.49 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/0.3914, allocations: 312.7 kB / 0.5901 GB, free: 21.22 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.3915, allocations: 30.67 kB / 0.5901 GB, free: 21.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.632e-05/0.3915, allocations: 128.7 kB / 0.5902 GB, free: 21.05 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.996e-05/0.3916, allocations: 123 kB / 0.5903 GB, free: 20.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.365e-05/0.3917, allocations: 65.69 kB / 0.5904 GB, free: 20.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.829e-05/0.3917, allocations: 335.4 kB / 0.5907 GB, free: 20.53 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.3919, allocations: 88.38 kB / 0.5908 GB, free: 20.44 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.392, allocations: 120.9 kB / 0.5909 GB, free: 20.31 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00025/0.3923, allocations: 222.2 kB / 0.5911 GB, free: 20.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3923, allocations: 0.8438 kB / 0.5911 GB, free: 20.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003445/0.3926, allocations: 277.1 kB / 0.5914 GB, free: 19.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.3926, allocations: 10.06 kB / 0.5914 GB, free: 19.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.3927, allocations: 0 / 0.5914 GB, free: 19.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.3927, allocations: 7.938 kB / 0.5914 GB, free: 19.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/0.3929, allocations: 67.89 kB / 0.5915 GB, free: 19.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.3929, allocations: 0 / 0.5915 GB, free: 19.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.393, allocations: 20.47 kB / 0.5915 GB, free: 19.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.3931, allocations: 20.58 kB / 0.5915 GB, free: 19.7 MB / 446.1 MB 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.0001102/0.3932, allocations: 164.9 kB / 0.5917 GB, free: 19.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.602e-05/0.3932, allocations: 23.72 kB / 0.5917 GB, free: 19.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005359/0.3938, allocations: 390.4 kB / 0.5921 GB, free: 19.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3938, allocations: 9.188 kB / 0.5921 GB, free: 19.11 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3938, allocations: 3.938 kB / 0.5921 GB, free: 19.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3938, allocations: 7.984 kB / 0.5921 GB, free: 19.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002137/0.394, allocations: 341.1 kB / 0.5924 GB, free: 18.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.394, allocations: 1.844 kB / 0.5924 GB, free: 18.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001541/0.3942, allocations: 55.97 kB / 0.5925 GB, free: 18.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.3942, allocations: 0 / 0.5925 GB, free: 18.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.3942, allocations: 11.98 kB / 0.5925 GB, free: 18.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.3942, allocations: 11.88 kB / 0.5925 GB, free: 18.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3942, allocations: 1.219 kB / 0.5925 GB, free: 18.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003737/0.3946, allocations: 319 kB / 0.5928 GB, free: 18.31 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.3947, allocations: 148.6 kB / 0.5929 GB, free: 18.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.686e-05/0.3948, allocations: 4 kB / 0.5929 GB, free: 18.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.3949, allocations: 33.94 kB / 0.593 GB, free: 18.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.436e-05/0.395, allocations: 19.97 kB / 0.593 GB, free: 18.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.476e-05/0.395, allocations: 16 kB / 0.593 GB, free: 18.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000139/0.3952, allocations: 237.8 kB / 0.5932 GB, free: 17.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3952, allocations: 0 / 0.5932 GB, free: 17.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002776/0.3955, allocations: 67.98 kB / 0.5933 GB, free: 17.78 MB / 446.1 MB 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.0008746/0.3964, allocations: 406 kB / 0.5937 GB, free: 17.56 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003371/0.3967, allocations: 232.9 kB / 0.5939 GB, free: 17.33 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3967, allocations: 0 / 0.5939 GB, free: 17.33 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.3969, allocations: 134.2 kB / 0.594 GB, free: 17.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.3972, allocations: 43.48 kB / 0.5941 GB, free: 17.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006427/0.3978, allocations: 0.5156 MB / 0.5946 GB, free: 16.62 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000158/0.398, allocations: 0.7634 MB / 0.5953 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002778/0.3983, allocations: 158.8 kB / 0.5955 GB, free: 15.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.864e-05/0.3983, allocations: 43.41 kB / 0.5955 GB, free: 15.66 MB / 446.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3984, allocations: 0 / 0.5955 GB, free: 15.66 MB / 446.1 MB Notification: Performance of Templates: time 0.00553/0.4039, allocations: 3.389 MB / 0.5988 GB, free: 12.38 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)