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.001106/0.001107, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001043/0.001043, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.31/1.31, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.775/0.775, allocations: 135.1 MB / 426.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001259, allocations: 71.88 kB / 0.5068 GB, free: 7.672 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4196/0.4209, allocations: 80.9 MB / 0.5858 GB, free: 25.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003179/0.4241, allocations: 1.861 MB / 0.5876 GB, free: 24.2 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002103/0.4262, allocations: 1.566 MB / 0.5891 GB, free: 22.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.4264, allocations: 1.375 kB / 0.5891 GB, free: 22.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002407/0.4266, allocations: 29.91 kB / 0.5891 GB, free: 22.95 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003032/0.427, allocations: 78.3 kB / 0.5892 GB, free: 22.89 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004347/0.4274, allocations: 172.7 kB / 0.5894 GB, free: 22.78 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002834/0.4277, allocations: 292.7 kB / 0.5897 GB, free: 22.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.4278, allocations: 26.64 kB / 0.5897 GB, free: 22.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.366e-05/0.4279, allocations: 84.48 kB / 0.5898 GB, free: 22.44 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.4281, allocations: 107.7 kB / 0.5899 GB, free: 22.33 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.293e-05/0.4282, allocations: 20.5 kB / 0.5899 GB, free: 22.31 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001356/0.4283, allocations: 84.53 kB / 0.59 GB, free: 22.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.711e-05/0.4284, allocations: 87.8 kB / 0.59 GB, free: 22.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.461e-05/0.4285, allocations: 128.1 kB / 0.5902 GB, free: 22.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002975/0.4288, allocations: 316.6 kB / 0.5905 GB, free: 21.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.4288, allocations: 1.438 kB / 0.5905 GB, free: 21.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4288, allocations: 0 / 0.5905 GB, free: 21.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.4288, allocations: 3.984 kB / 0.5905 GB, free: 21.71 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.0006787/0.4295, allocations: 0.5546 MB / 0.591 GB, free: 21.11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.4296, allocations: 11.33 kB / 0.591 GB, free: 21.1 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000147/0.4297, allocations: 28.66 kB / 0.5911 GB, free: 21.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.43, allocations: 278.7 kB / 0.5913 GB, free: 20.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.43, allocations: 20.16 kB / 0.5913 GB, free: 20.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.43, allocations: 20.12 kB / 0.5914 GB, free: 20.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002956/0.4303, allocations: 230.6 kB / 0.5916 GB, free: 20.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.4304, allocations: 0 / 0.5916 GB, free: 20.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.357e-05/0.4304, allocations: 9.094 kB / 0.5916 GB, free: 20.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.4304, allocations: 4 kB / 0.5916 GB, free: 20.47 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006339/0.431, allocations: 0.7526 MB / 0.5923 GB, free: 19.72 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008407/0.4319, allocations: 0.6275 MB / 0.5929 GB, free: 19.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003984/0.4323, allocations: 308.2 kB / 0.5932 GB, free: 18.73 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.4324, allocations: 106.6 kB / 0.5933 GB, free: 18.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.947e-05/0.4325, allocations: 28.22 kB / 0.5934 GB, free: 18.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002744/0.4328, allocations: 185 kB / 0.5935 GB, free: 18.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 1.563e-06/0.4328, allocations: 1.438 kB / 0.5935 GB, free: 18.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.0005958/0.4334, allocations: 381 kB / 0.5939 GB, free: 18.03 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.4334, allocations: 132.5 kB / 0.594 GB, free: 17.87 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.4337, allocations: 306.2 kB / 0.5943 GB, free: 17.56 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.4337, allocations: 33.7 kB / 0.5944 GB, free: 17.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.52e-05/0.4337, allocations: 128.7 kB / 0.5945 GB, free: 17.39 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.08e-05/0.4338, allocations: 118.9 kB / 0.5946 GB, free: 17.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.507e-05/0.4339, allocations: 66.81 kB / 0.5947 GB, free: 17.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.094e-05/0.434, allocations: 334.8 kB / 0.595 GB, free: 16.87 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.4341, allocations: 86.16 kB / 0.5951 GB, free: 16.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.4342, allocations: 128.5 kB / 0.5952 GB, free: 16.65 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002523/0.4345, allocations: 213.1 kB / 0.5954 GB, free: 16.44 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4345, allocations: 1.469 kB / 0.5954 GB, free: 16.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003395/0.4348, allocations: 281 kB / 0.5957 GB, free: 16.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.4349, allocations: 4 kB / 0.5957 GB, free: 16.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.4349, allocations: 4 kB / 0.5957 GB, free: 16.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.4349, allocations: 8.641 kB / 0.5957 GB, free: 16.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001988/0.4351, allocations: 63.91 kB / 0.5957 GB, free: 16.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.4351, allocations: 4.625 kB / 0.5957 GB, free: 16.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.4352, allocations: 28.58 kB / 0.5958 GB, free: 16.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.4353, allocations: 15.98 kB / 0.5958 GB, free: 16.03 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.0001223/0.4354, allocations: 168.4 kB / 0.5959 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.291e-05/0.4355, allocations: 23.72 kB / 0.596 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005331/0.436, allocations: 381.3 kB / 0.5963 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.436, allocations: 7.938 kB / 0.5963 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.436, allocations: 3.984 kB / 0.5963 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.436, allocations: 0 / 0.5963 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002313/0.4363, allocations: 349 kB / 0.5967 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.4363, allocations: 10.61 kB / 0.5967 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.4364, allocations: 51.92 kB / 0.5967 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.4364, allocations: 3.938 kB / 0.5967 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.4365, allocations: 15.98 kB / 0.5967 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.4365, allocations: 3.938 kB / 0.5968 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4365, allocations: 4 kB / 0.5968 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003742/0.4369, allocations: 323.4 kB / 0.5971 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.437, allocations: 145.4 kB / 0.5972 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.861e-05/0.437, allocations: 8 kB / 0.5972 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.4372, allocations: 25.97 kB / 0.5972 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.287e-05/0.4373, allocations: 27.97 kB / 0.5973 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.627e-05/0.4373, allocations: 15.98 kB / 0.5973 GB, free: 14.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001473/0.4374, allocations: 238 kB / 0.5975 GB, free: 14.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4374, allocations: 0 / 0.5975 GB, free: 14.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002713/0.4377, allocations: 63.89 kB / 0.5976 GB, free: 14.12 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.000889/0.4386, allocations: 399.7 kB / 0.5979 GB, free: 13.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003345/0.439, allocations: 234.2 kB / 0.5982 GB, free: 13.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.439, allocations: 4 kB / 0.5982 GB, free: 13.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.4391, allocations: 131.8 kB / 0.5983 GB, free: 13.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.4394, allocations: 47.53 kB / 0.5983 GB, free: 13.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006979/0.4401, allocations: 0.5262 MB / 0.5989 GB, free: 12.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001872/0.4403, allocations: 0.7653 MB / 0.5996 GB, free: 12.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002767/0.4406, allocations: 141.7 kB / 0.5997 GB, free: 12.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.354e-05/0.4407, allocations: 44.19 kB / 0.5998 GB, free: 12 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4407, allocations: 0 / 0.5998 GB, free: 12 MB / 446.1 MB Notification: Performance of Templates: time 0.00636/0.4471, allocations: 3.385 MB / 0.6031 GB, free: 8.695 MB / 446.1 MB 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)