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.0009329/0.0009329, allocations: 96.14 kB / 16.03 MB, free: 68 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.001092/0.001092, allocations: 180.1 kB / 16.92 MB, free: 6.906 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.332/1.332, allocations: 223.3 MB / 241 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9132/0.9132, allocations: 135.3 MB / 427.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002873/0.0002873, allocations: 8 kB / 0.5082 GB, free: 4.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1408, allocations: 82.31 MB / 0.5886 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002138/0.143, allocations: 1.552 MB / 0.5901 GB, free: 1.062 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002083/0.1451, allocations: 1.526 MB / 0.5916 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.485e-05/0.1452, allocations: 4 kB / 0.5916 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001958/0.1454, allocations: 23.84 kB / 0.5917 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002488/0.1456, allocations: 63.75 kB / 0.5917 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004274/0.1461, allocations: 158.5 kB / 0.5919 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002823/0.1464, allocations: 249.4 kB / 0.5921 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.1465, allocations: 25.39 kB / 0.5921 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.1466, allocations: 87.69 kB / 0.5922 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002094/0.1468, allocations: 95.7 kB / 0.5923 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.424e-05/0.1469, allocations: 8 kB / 0.5923 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001679/0.1471, allocations: 71.97 kB / 0.5924 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.05e-05/0.1472, allocations: 79.73 kB / 0.5925 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.1473, allocations: 133 kB / 0.5926 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000264/0.1475, allocations: 219.5 kB / 0.5928 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1476, allocations: 0 / 0.5928 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.432e-06/0.1476, allocations: 4 kB / 0.5928 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.1476, allocations: 0 / 0.5928 GB, free: 14.33 MB / 0.4981 GB 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.0006692/0.1483, allocations: 0.4994 MB / 0.5933 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.1483, allocations: 16.03 kB / 0.5933 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001396/0.1484, allocations: 28.66 kB / 0.5933 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.1487, allocations: 278.7 kB / 0.5936 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.1487, allocations: 12.31 kB / 0.5936 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.02e-05/0.1488, allocations: 24.12 kB / 0.5936 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003537/0.1491, allocations: 232.7 kB / 0.5938 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.1491, allocations: 0 / 0.5938 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.387e-05/0.1492, allocations: 8 kB / 0.5939 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.1492, allocations: 11.94 kB / 0.5939 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000791/0.15, allocations: 0.7451 MB / 0.5946 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009941/0.151, allocations: 0.6485 MB / 0.5952 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004605/0.1515, allocations: 298 kB / 0.5955 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/0.1516, allocations: 113.4 kB / 0.5956 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.169e-05/0.1517, allocations: 20.25 kB / 0.5956 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003064/0.152, allocations: 187.4 kB / 0.5958 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 1.583e-06/0.152, allocations: 0 / 0.5958 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.0005991/0.1526, allocations: 378.4 kB / 0.5962 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.814e-05/0.1527, allocations: 136.5 kB / 0.5963 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002571/0.153, allocations: 305 kB / 0.5966 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.153, allocations: 29.7 kB / 0.5966 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.148e-05/0.1531, allocations: 140.6 kB / 0.5968 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.431e-05/0.1532, allocations: 118.3 kB / 0.5969 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.439e-05/0.1532, allocations: 33.64 kB / 0.5969 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.1533, allocations: 338.8 kB / 0.5972 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.1535, allocations: 79.95 kB / 0.5973 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/0.1536, allocations: 121.8 kB / 0.5974 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002962/0.1539, allocations: 221.1 kB / 0.5976 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1539, allocations: 4 kB / 0.5976 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003797/0.1543, allocations: 277.2 kB / 0.5979 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1544, allocations: 8 kB / 0.5979 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1544, allocations: 0 / 0.5979 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.1544, allocations: 3.938 kB / 0.5979 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.1546, allocations: 59.91 kB / 0.598 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.1546, allocations: 4 kB / 0.598 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.1548, allocations: 31.67 kB / 0.598 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.696e-05/0.1548, allocations: 19.98 kB / 0.598 GB, free: 8.695 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.0001397/0.1549, allocations: 165.8 kB / 0.5982 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.427e-05/0.155, allocations: 23.72 kB / 0.5982 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006178/0.1556, allocations: 388.7 kB / 0.5986 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.1556, allocations: 11.88 kB / 0.5986 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1556, allocations: 4 kB / 0.5986 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.279e-06/0.1557, allocations: 3.984 kB / 0.5986 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002907/0.1559, allocations: 345.2 kB / 0.5989 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.156, allocations: 0 / 0.5989 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/0.1561, allocations: 59.91 kB / 0.599 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1561, allocations: 0 / 0.599 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.1562, allocations: 11.98 kB / 0.599 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.1562, allocations: 7.938 kB / 0.599 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1562, allocations: 0 / 0.599 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004101/0.1566, allocations: 313.7 kB / 0.5993 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.1567, allocations: 160.5 kB / 0.5995 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.683e-05/0.1568, allocations: 8.047 kB / 0.5995 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.157, allocations: 47.08 kB / 0.5995 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.434e-05/0.157, allocations: 23.97 kB / 0.5995 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.693e-05/0.1571, allocations: 15.98 kB / 0.5995 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001887/0.1572, allocations: 232.5 kB / 0.5998 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1573, allocations: 0 / 0.5998 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002818/0.1575, allocations: 75.92 kB / 0.5998 GB, free: 6.734 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.0008894/0.1584, allocations: 409 kB / 0.6002 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003518/0.1588, allocations: 236 kB / 0.6005 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1588, allocations: 0 / 0.6005 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001736/0.159, allocations: 131.8 kB / 0.6006 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.1593, allocations: 44.95 kB / 0.6006 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008052/0.1601, allocations: 0.6531 MB / 0.6013 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.1604, allocations: 0.7582 MB / 0.602 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.1605, allocations: 51.41 kB / 0.602 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.1605, allocations: 0 / 0.602 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of Templates: time 0.006215/0.1667, allocations: 4.407 MB / 0.6064 GB, free: 184 kB / 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)