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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 182.5 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7321/0.7321, allocations: 133.3 MB / 150.1 MB, free: 11.17 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 404.7 MB, free: 6.125 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 103.4 kB / 485.9 MB, free: 7.262 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001083/0.001083, allocations: 59.91 kB / 0.5636 GB, free: 69.95 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1242, allocations: 80.42 MB / 0.6421 GB, free: 5.461 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003245/0.1275, allocations: 1.917 MB / 0.644 GB, free: 3.527 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00222/0.1297, allocations: 1.538 MB / 0.6455 GB, free: 1.98 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.337e-05/0.1299, allocations: 4 kB / 0.6455 GB, free: 1.977 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002128/0.1301, allocations: 19.84 kB / 0.6455 GB, free: 1.957 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002622/0.1304, allocations: 63.73 kB / 0.6456 GB, free: 1.895 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000456/0.1308, allocations: 155.8 kB / 0.6458 GB, free: 1.746 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002943/0.1311, allocations: 257.4 kB / 0.646 GB, free: 1.496 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.1313, allocations: 37.3 kB / 0.646 GB, free: 1.457 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.1314, allocations: 83.75 kB / 0.6461 GB, free: 1.375 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002167/0.1316, allocations: 99.69 kB / 0.6462 GB, free: 1.277 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.162e-05/0.1316, allocations: 12 kB / 0.6462 GB, free: 1.266 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000184/0.1318, allocations: 75.91 kB / 0.6463 GB, free: 1.191 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.173e-05/0.1319, allocations: 71.81 kB / 0.6464 GB, free: 1.121 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.1321, allocations: 111.3 kB / 0.6465 GB, free: 1.012 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003675/0.1324, allocations: 307 kB / 0.6468 GB, free: 0.7109 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1325, allocations: 0 / 0.6468 GB, free: 0.7109 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1325, allocations: 3.938 kB / 0.6468 GB, free: 0.707 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.1325, allocations: 0 / 0.6468 GB, free: 0.707 MB / 442.7 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.0007991/0.1333, allocations: 0.554 MB / 0.6473 GB, free: 108 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.1333, allocations: 8.031 kB / 0.6473 GB, free: 100 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.1335, allocations: 32.56 kB / 0.6473 GB, free: 68 kB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003287/0.1338, allocations: 270.8 kB / 0.6476 GB, free: 15.76 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.1339, allocations: 16.31 kB / 0.6476 GB, free: 15.75 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.464e-05/0.1339, allocations: 28.12 kB / 0.6476 GB, free: 15.72 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003783/0.1343, allocations: 228.8 kB / 0.6479 GB, free: 15.48 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.1343, allocations: 4 kB / 0.6479 GB, free: 15.47 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.561e-05/0.1343, allocations: 4 kB / 0.6479 GB, free: 15.47 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.1344, allocations: 4 kB / 0.6479 GB, free: 15.46 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008571/0.1352, allocations: 0.7488 MB / 0.6486 GB, free: 14.71 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/0.1363, allocations: 0.6369 MB / 0.6492 GB, free: 14.02 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000501/0.1368, allocations: 309.8 kB / 0.6495 GB, free: 13.71 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.137, allocations: 113.4 kB / 0.6496 GB, free: 13.59 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.137e-05/0.1371, allocations: 24.23 kB / 0.6497 GB, free: 13.57 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003672/0.1374, allocations: 175.4 kB / 0.6498 GB, free: 13.39 MB / 458.7 MB Notification: Performance of pre-optimization done (n=35): time 1.653e-06/0.1374, allocations: 0 / 0.6498 GB, free: 13.39 MB / 458.7 MB Notification: Performance of matching and sorting (n=35): time 0.0006684/0.1381, allocations: 380.9 kB / 0.6502 GB, free: 13.01 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.527e-05/0.1382, allocations: 136.5 kB / 0.6503 GB, free: 12.84 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002822/0.1385, allocations: 313 kB / 0.6506 GB, free: 12.53 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.579e-05/0.1385, allocations: 33.7 kB / 0.6506 GB, free: 12.49 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.247e-05/0.1386, allocations: 136.6 kB / 0.6508 GB, free: 12.35 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.22e-05/0.1387, allocations: 110.4 kB / 0.6509 GB, free: 12.24 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.358e-05/0.1388, allocations: 65.69 kB / 0.6509 GB, free: 12.17 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.139, allocations: 338.8 kB / 0.6513 GB, free: 11.83 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.1391, allocations: 87.81 kB / 0.6514 GB, free: 11.75 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001901/0.1393, allocations: 132.5 kB / 0.6515 GB, free: 11.61 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003327/0.1397, allocations: 213.1 kB / 0.6517 GB, free: 11.39 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.1397, allocations: 0 / 0.6517 GB, free: 11.39 MB / 458.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004438/0.1401, allocations: 281 kB / 0.6519 GB, free: 11.11 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.1401, allocations: 9.703 kB / 0.652 GB, free: 11.11 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1402, allocations: 0 / 0.652 GB, free: 11.11 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.1402, allocations: 7.938 kB / 0.652 GB, free: 11.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002222/0.1404, allocations: 63.91 kB / 0.652 GB, free: 11.04 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.1404, allocations: 0 / 0.652 GB, free: 11.04 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001545/0.1406, allocations: 33.59 kB / 0.6521 GB, free: 11 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.1406, allocations: 16 kB / 0.6521 GB, free: 10.99 MB / 458.7 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.0001564/0.1408, allocations: 157.8 kB / 0.6522 GB, free: 10.82 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.523e-05/0.1408, allocations: 31.62 kB / 0.6523 GB, free: 10.79 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006866/0.1415, allocations: 380.9 kB / 0.6526 GB, free: 10.42 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/0.1416, allocations: 11.94 kB / 0.6526 GB, free: 10.41 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1416, allocations: 4 kB / 0.6526 GB, free: 10.4 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.1416, allocations: 0 / 0.6526 GB, free: 10.4 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003246/0.1419, allocations: 345.1 kB / 0.653 GB, free: 10.02 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1419, allocations: 0 / 0.653 GB, free: 10.02 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/0.1421, allocations: 63.91 kB / 0.653 GB, free: 9.953 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.1421, allocations: 0 / 0.653 GB, free: 9.953 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.653e-05/0.1421, allocations: 8 kB / 0.653 GB, free: 9.945 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.1422, allocations: 7.938 kB / 0.653 GB, free: 9.938 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1422, allocations: 0 / 0.653 GB, free: 9.938 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009264/0.1431, allocations: 1.019 MB / 0.654 GB, free: 8.859 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001518/0.1433, allocations: 148.6 kB / 0.6542 GB, free: 8.695 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.892e-05/0.1433, allocations: 8 kB / 0.6542 GB, free: 8.688 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001841/0.1435, allocations: 23.97 kB / 0.6542 GB, free: 8.664 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.192e-05/0.1436, allocations: 31.84 kB / 0.6542 GB, free: 8.633 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.884e-05/0.1436, allocations: 11.94 kB / 0.6542 GB, free: 8.621 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002059/0.1438, allocations: 244.4 kB / 0.6545 GB, free: 8.387 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1438, allocations: 0 / 0.6545 GB, free: 8.387 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000396/0.1442, allocations: 67.92 kB / 0.6545 GB, free: 8.32 MB / 458.7 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.0008643/0.1451, allocations: 401.7 kB / 0.6549 GB, free: 8.066 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004094/0.1455, allocations: 232.1 kB / 0.6552 GB, free: 7.84 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1455, allocations: 0 / 0.6552 GB, free: 7.84 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001932/0.1457, allocations: 127.8 kB / 0.6553 GB, free: 7.715 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.146, allocations: 44.34 kB / 0.6553 GB, free: 7.672 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.147, allocations: 0.8457 MB / 0.6561 GB, free: 6.789 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.1474, allocations: 0.7769 MB / 0.6569 GB, free: 5.98 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003218/0.1477, allocations: 138.9 kB / 0.657 GB, free: 5.844 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.083e-05/0.1478, allocations: 43.42 kB / 0.6571 GB, free: 5.801 MB / 458.7 MB Notification: Performance of SimCode: time 2.6e-07/0.1478, allocations: 0 / 0.6571 GB, free: 5.801 MB / 458.7 MB Notification: Performance of Templates: time 0.007174/0.155, allocations: 3.351 MB / 0.6603 GB, free: 2.477 MB / 458.7 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 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)