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.001083/0.001083, allocations: 115.4 kB / 16.39 MB, free: 5.957 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.001053/0.001052, allocations: 191 kB / 17.32 MB, free: 5.578 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.283/1.283, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7788/0.7788, allocations: 132.2 MB / 423.4 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 64.39 kB / 0.582 GB, free: 23.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1308, allocations: 80.21 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002833/0.1337, allocations: 1.86 MB / 0.6621 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002014/0.1357, allocations: 1.573 MB / 0.6637 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.73e-05/0.1358, allocations: 4 kB / 0.6637 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001984/0.136, allocations: 27.8 kB / 0.6637 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002562/0.1363, allocations: 83.53 kB / 0.6638 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000388/0.1367, allocations: 163 kB / 0.6639 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002973/0.137, allocations: 281.4 kB / 0.6642 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.1371, allocations: 33.05 kB / 0.6642 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.463e-05/0.1372, allocations: 91.81 kB / 0.6643 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001959/0.1374, allocations: 107.7 kB / 0.6644 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.066e-05/0.1375, allocations: 19.94 kB / 0.6644 GB, free: 6 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.1376, allocations: 83.95 kB / 0.6645 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.436e-05/0.1377, allocations: 91.75 kB / 0.6646 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.1378, allocations: 119.3 kB / 0.6647 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003265/0.1382, allocations: 315 kB / 0.665 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1382, allocations: 4 kB / 0.665 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.635e-06/0.1382, allocations: 4 kB / 0.665 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.1382, allocations: 0 / 0.665 GB, free: 5.395 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.0007377/0.1389, allocations: 0.55 MB / 0.6656 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.139, allocations: 15.97 kB / 0.6656 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001479/0.1391, allocations: 32.56 kB / 0.6656 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002641/0.1394, allocations: 270.7 kB / 0.6659 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.1394, allocations: 16.16 kB / 0.6659 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.398e-05/0.1395, allocations: 28.06 kB / 0.6659 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003632/0.1398, allocations: 229 kB / 0.6661 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1399, allocations: 0 / 0.6661 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.333e-05/0.1399, allocations: 8 kB / 0.6661 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.1399, allocations: 4 kB / 0.6661 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008305/0.1407, allocations: 0.7487 MB / 0.6669 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009799/0.1417, allocations: 0.6237 MB / 0.6675 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004824/0.1422, allocations: 309.9 kB / 0.6678 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.1424, allocations: 109.4 kB / 0.6679 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.094e-05/0.1424, allocations: 20.23 kB / 0.6679 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003334/0.1428, allocations: 184 kB / 0.6681 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 1.653e-06/0.1428, allocations: 0 / 0.6681 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.0006482/0.1435, allocations: 393.2 kB / 0.6684 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.884e-05/0.1435, allocations: 132.5 kB / 0.6686 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002732/0.1438, allocations: 305 kB / 0.6689 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.1439, allocations: 37.7 kB / 0.6689 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.533e-05/0.1439, allocations: 132.6 kB / 0.669 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.456e-05/0.144, allocations: 114.3 kB / 0.6691 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.641e-05/0.1441, allocations: 69.69 kB / 0.6692 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.1443, allocations: 334.8 kB / 0.6695 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.1444, allocations: 79.95 kB / 0.6696 GB, free: 464 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001739/0.1446, allocations: 131.3 kB / 0.6697 GB, free: 320 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003138/0.1449, allocations: 214.3 kB / 0.6699 GB, free: 104 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1449, allocations: 3.938 kB / 0.6699 GB, free: 100 kB / 0.4981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004383/0.1454, allocations: 281 kB / 0.6702 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.1454, allocations: 12 kB / 0.6702 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1454, allocations: 0 / 0.6702 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.1454, allocations: 3.938 kB / 0.6702 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.1456, allocations: 63.91 kB / 0.6703 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.1456, allocations: 4 kB / 0.6703 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.1458, allocations: 23.83 kB / 0.6703 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.349e-05/0.1458, allocations: 12 kB / 0.6703 GB, free: 15.7 MB / 0.5137 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.0001492/0.146, allocations: 160 kB / 0.6705 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.582e-05/0.146, allocations: 39.64 kB / 0.6705 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006468/0.1467, allocations: 384.9 kB / 0.6709 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.1467, allocations: 11.94 kB / 0.6709 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.1467, allocations: 0 / 0.6709 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.1467, allocations: 0 / 0.6709 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003056/0.1471, allocations: 345.3 kB / 0.6712 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1471, allocations: 0 / 0.6712 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001746/0.1472, allocations: 59.91 kB / 0.6713 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.1473, allocations: 4 kB / 0.6713 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.1473, allocations: 11.94 kB / 0.6713 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.319e-05/0.1473, allocations: 3.938 kB / 0.6713 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1473, allocations: 0 / 0.6713 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004583/0.1478, allocations: 337.4 kB / 0.6716 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.1479, allocations: 140.7 kB / 0.6717 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.837e-05/0.1479, allocations: 8 kB / 0.6717 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.1481, allocations: 27.91 kB / 0.6718 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.432e-05/0.1482, allocations: 23.97 kB / 0.6718 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-05/0.1482, allocations: 15.98 kB / 0.6718 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002031/0.1484, allocations: 240.4 kB / 0.672 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.1e-07/0.1485, allocations: 4 kB / 0.672 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002818/0.1487, allocations: 63.94 kB / 0.6721 GB, free: 13.75 MB / 0.5137 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.0008674/0.1496, allocations: 405.2 kB / 0.6725 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003816/0.15, allocations: 232.1 kB / 0.6727 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.15, allocations: 4 kB / 0.6727 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001915/0.1502, allocations: 127.8 kB / 0.6728 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.1505, allocations: 42.11 kB / 0.6729 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007904/0.1513, allocations: 0.5582 MB / 0.6734 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.1516, allocations: 0.7658 MB / 0.6742 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.1517, allocations: 51.41 kB / 0.6742 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of SimCode: time 2.8e-07/0.1517, allocations: 0 / 0.6742 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of Templates: time 0.00631/0.158, allocations: 4.464 MB / 0.6786 GB, free: 7.289 MB / 0.5137 GB 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 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)