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.001068/0.001068, allocations: 111.5 kB / 16.37 MB, free: 6.004 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.001406/0.001406, allocations: 197.6 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.311/1.311, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8091/0.8091, allocations: 132.2 MB / 423.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002193/0.002193, allocations: 63.89 kB / 0.5032 GB, free: 10.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3934/0.3956, allocations: 80.18 MB / 0.5815 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002932/0.3986, allocations: 1.86 MB / 0.5833 GB, free: 26.13 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001798/0.4004, allocations: 1.574 MB / 0.5849 GB, free: 24.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.35e-05/0.4005, allocations: 1.125 kB / 0.5849 GB, free: 24.89 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002104/0.4007, allocations: 24.95 kB / 0.5849 GB, free: 24.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002785/0.401, allocations: 85.19 kB / 0.585 GB, free: 24.81 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003667/0.4014, allocations: 169.8 kB / 0.5851 GB, free: 24.7 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002811/0.4017, allocations: 280.8 kB / 0.5854 GB, free: 24.54 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.4018, allocations: 32.28 kB / 0.5854 GB, free: 24.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.415e-05/0.4019, allocations: 87.81 kB / 0.5855 GB, free: 24.47 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001942/0.4021, allocations: 105.8 kB / 0.5856 GB, free: 24.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.926e-05/0.4022, allocations: 20.44 kB / 0.5856 GB, free: 24.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001503/0.4023, allocations: 84.33 kB / 0.5857 GB, free: 24.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.063e-05/0.4024, allocations: 94.86 kB / 0.5858 GB, free: 24.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.4025, allocations: 116.6 kB / 0.5859 GB, free: 24.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003258/0.4028, allocations: 321.7 kB / 0.5862 GB, free: 24.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4029, allocations: 0 / 0.5862 GB, free: 24.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.4029, allocations: 1.469 kB / 0.5862 GB, free: 24.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.4029, allocations: 3.938 kB / 0.5862 GB, free: 24.02 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.0007028/0.4036, allocations: 0.5544 MB / 0.5868 GB, free: 23.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.4036, allocations: 14.09 kB / 0.5868 GB, free: 23.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000152/0.4038, allocations: 35.77 kB / 0.5868 GB, free: 23.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.404, allocations: 265 kB / 0.5871 GB, free: 23.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.4041, allocations: 24.67 kB / 0.5871 GB, free: 23.19 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.993e-05/0.4041, allocations: 20.41 kB / 0.5871 GB, free: 23.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003336/0.4044, allocations: 226.3 kB / 0.5873 GB, free: 23.03 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.4045, allocations: 1.094 kB / 0.5873 GB, free: 23.03 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.478e-05/0.4045, allocations: 6.75 kB / 0.5873 GB, free: 23.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.4045, allocations: 5.125 kB / 0.5873 GB, free: 23.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007844/0.4053, allocations: 0.7495 MB / 0.5881 GB, free: 22.68 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008997/0.4062, allocations: 0.6324 MB / 0.5887 GB, free: 22.15 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004767/0.4067, allocations: 301.3 kB / 0.589 GB, free: 22.01 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.4069, allocations: 111.2 kB / 0.5891 GB, free: 21.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.228e-05/0.4069, allocations: 25.81 kB / 0.5891 GB, free: 21.94 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003351/0.4073, allocations: 176 kB / 0.5893 GB, free: 21.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 2.224e-06/0.4073, allocations: 0 / 0.5893 GB, free: 21.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.0006342/0.4079, allocations: 380.9 kB / 0.5896 GB, free: 21.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.408, allocations: 133.4 kB / 0.5898 GB, free: 21.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/0.4082, allocations: 308.2 kB / 0.5901 GB, free: 21.19 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.4082, allocations: 34.55 kB / 0.5901 GB, free: 21.15 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.836e-05/0.4083, allocations: 136.6 kB / 0.5902 GB, free: 21.02 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.039e-05/0.4084, allocations: 120.7 kB / 0.5903 GB, free: 20.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.536e-05/0.4084, allocations: 65.69 kB / 0.5904 GB, free: 20.83 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.789e-05/0.4085, allocations: 338.8 kB / 0.5907 GB, free: 20.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.4086, allocations: 87.8 kB / 0.5908 GB, free: 20.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.4088, allocations: 120 kB / 0.5909 GB, free: 20.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002569/0.4091, allocations: 216.1 kB / 0.5911 GB, free: 20.06 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4091, allocations: 0 / 0.5911 GB, free: 20.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003461/0.4094, allocations: 281.1 kB / 0.5914 GB, free: 19.78 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.4094, allocations: 4 kB / 0.5914 GB, free: 19.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.4094, allocations: 5.156 kB / 0.5914 GB, free: 19.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.4095, allocations: 7.938 kB / 0.5914 GB, free: 19.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/0.4097, allocations: 59.97 kB / 0.5915 GB, free: 19.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.4097, allocations: 0.9375 kB / 0.5915 GB, free: 19.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.4098, allocations: 31.77 kB / 0.5915 GB, free: 19.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.4099, allocations: 17.94 kB / 0.5915 GB, free: 19.66 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.0001127/0.41, allocations: 161.8 kB / 0.5917 GB, free: 19.49 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.559e-05/0.41, allocations: 23.72 kB / 0.5917 GB, free: 19.47 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005496/0.4106, allocations: 396.3 kB / 0.5921 GB, free: 19.08 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.4106, allocations: 8.531 kB / 0.5921 GB, free: 19.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.4106, allocations: 7.938 kB / 0.5921 GB, free: 19.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.4106, allocations: 1.031 kB / 0.5921 GB, free: 19.06 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002152/0.4108, allocations: 345.1 kB / 0.5924 GB, free: 18.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4109, allocations: 0 / 0.5924 GB, free: 18.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.411, allocations: 61.28 kB / 0.5925 GB, free: 18.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.411, allocations: 0 / 0.5925 GB, free: 18.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.411, allocations: 8 kB / 0.5925 GB, free: 18.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.4111, allocations: 9.219 kB / 0.5925 GB, free: 18.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.4111, allocations: 0 / 0.5925 GB, free: 18.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003651/0.4114, allocations: 318.6 kB / 0.5928 GB, free: 18.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.4116, allocations: 152.5 kB / 0.5929 GB, free: 18.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.922e-05/0.4116, allocations: 4.812 kB / 0.5929 GB, free: 18.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.4118, allocations: 28.78 kB / 0.593 GB, free: 18.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.815e-05/0.4118, allocations: 29.91 kB / 0.593 GB, free: 18.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.769e-05/0.4119, allocations: 15.98 kB / 0.593 GB, free: 18.03 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001397/0.412, allocations: 236.4 kB / 0.5932 GB, free: 17.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.412, allocations: 0 / 0.5932 GB, free: 17.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002791/0.4123, allocations: 60 kB / 0.5933 GB, free: 17.74 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.0008704/0.4132, allocations: 412.3 kB / 0.5937 GB, free: 17.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003578/0.4135, allocations: 233.5 kB / 0.5939 GB, free: 17.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.4136, allocations: 0 / 0.5939 GB, free: 17.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.4137, allocations: 131.8 kB / 0.594 GB, free: 17.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.414, allocations: 44.23 kB / 0.5941 GB, free: 17.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00073/0.4148, allocations: 0.5165 MB / 0.5946 GB, free: 16.58 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002117/0.415, allocations: 0.7672 MB / 0.5953 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002918/0.4153, allocations: 149.7 kB / 0.5955 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.234e-05/0.4154, allocations: 40.08 kB / 0.5955 GB, free: 15.62 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4154, allocations: 0.9688 kB / 0.5955 GB, free: 15.62 MB / 446.1 MB Notification: Performance of Templates: time 0.006494/0.4219, allocations: 3.39 MB / 0.5988 GB, free: 12.34 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 cvode -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)