Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.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/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/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.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 182.9 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/package.mo): time 0.6851/0.6851, allocations: 132.2 MB / 148.9 MB, free: 12.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.373/1.373, allocations: 222.9 MB / 403.4 MB, free: 7.086 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.001022/0.001022, allocations: 103.5 kB / 484.4 MB, free: 8.727 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001037/0.001037, allocations: 55.92 kB / 0.5618 GB, free: 71.07 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1466, allocations: 80.21 MB / 0.6402 GB, free: 6.789 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002727/0.1494, allocations: 1.338 MB / 0.6415 GB, free: 5.438 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002203/0.1516, allocations: 1.43 MB / 0.6429 GB, free: 4 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.907e-05/0.1517, allocations: 4 kB / 0.6429 GB, free: 3.996 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.428e-05/0.1517, allocations: 3.938 kB / 0.6429 GB, free: 3.992 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001808/0.1519, allocations: 11.98 kB / 0.6429 GB, free: 3.98 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005265/0.1524, allocations: 190.8 kB / 0.6431 GB, free: 3.797 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.849e-05/0.1525, allocations: 23.92 kB / 0.6431 GB, free: 3.773 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.938e-05/0.1525, allocations: 0 / 0.6431 GB, free: 3.773 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.799e-05/0.1526, allocations: 12 kB / 0.6431 GB, free: 3.762 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.1527, allocations: 19.91 kB / 0.6431 GB, free: 3.742 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.1528, allocations: 0 / 0.6431 GB, free: 3.742 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002498/0.153, allocations: 139.8 kB / 0.6433 GB, free: 3.605 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.715e-05/0.153, allocations: 19.91 kB / 0.6433 GB, free: 3.586 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.403e-05/0.1531, allocations: 4 kB / 0.6433 GB, free: 3.582 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002532/0.1533, allocations: 143.8 kB / 0.6434 GB, free: 3.441 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1533, allocations: 4 kB / 0.6434 GB, free: 3.438 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1533, allocations: 0 / 0.6434 GB, free: 3.438 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.1534, allocations: 0 / 0.6434 GB, free: 3.438 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004044/0.1538, allocations: 379.7 kB / 0.6438 GB, free: 3.02 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.1538, allocations: 8.031 kB / 0.6438 GB, free: 3.012 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.758e-05/0.1539, allocations: 80.2 kB / 0.6439 GB, free: 2.934 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.1541, allocations: 251.6 kB / 0.6441 GB, free: 2.648 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.096e-05/0.1541, allocations: 154.9 kB / 0.6443 GB, free: 2.496 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.535e-05/0.1542, allocations: 158.7 kB / 0.6444 GB, free: 2.34 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.038e-05/0.1543, allocations: 101 kB / 0.6445 GB, free: 2.234 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/0.1543, allocations: 75.28 kB / 0.6446 GB, free: 2.16 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.336e-05/0.1544, allocations: 150.6 kB / 0.6447 GB, free: 2.012 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.422e-05/0.1544, allocations: 150.6 kB / 0.6449 GB, free: 1.863 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.675e-05/0.1545, allocations: 154.6 kB / 0.645 GB, free: 1.711 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002804/0.1548, allocations: 461.9 kB / 0.6455 GB, free: 1.211 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.254e-05/0.1549, allocations: 165.1 kB / 0.6456 GB, free: 1.039 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.162e-05/0.1549, allocations: 84.08 kB / 0.6457 GB, free: 0.9531 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.1549, allocations: 79.28 kB / 0.6458 GB, free: 0.875 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.073e-05/0.155, allocations: 109.8 kB / 0.6459 GB, free: 0.7578 MB / 442.7 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.155, allocations: 0 / 0.6459 GB, free: 0.7578 MB / 442.7 MB Notification: Performance of matching and sorting (n=0): time 8.391e-05/0.1551, allocations: 41.55 kB / 0.6459 GB, free: 0.7109 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.334e-05/0.1551, allocations: 126.7 kB / 0.646 GB, free: 0.5742 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.1553, allocations: 105.8 kB / 0.6461 GB, free: 472 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.1553, allocations: 29.64 kB / 0.6462 GB, free: 436 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.136e-05/0.1553, allocations: 84.14 kB / 0.6462 GB, free: 348 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.1553, allocations: 0 / 0.6462 GB, free: 348 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-05/0.1554, allocations: 21.72 kB / 0.6463 GB, free: 320 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.1555, allocations: 314.9 kB / 0.6466 GB, free: 15.99 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.286e-05/0.1555, allocations: 4 kB / 0.6466 GB, free: 15.99 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.071e-05/0.1555, allocations: 22.52 kB / 0.6466 GB, free: 15.96 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.366e-05/0.1556, allocations: 38.5 kB / 0.6466 GB, free: 15.91 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1556, allocations: 0 / 0.6466 GB, free: 15.91 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001234/0.1557, allocations: 45.58 kB / 0.6467 GB, free: 15.86 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.1558, allocations: 4 kB / 0.6467 GB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.1558, allocations: 0 / 0.6467 GB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.1558, allocations: 4 kB / 0.6467 GB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.465e-05/0.1559, allocations: 8.078 kB / 0.6467 GB, free: 15.85 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.1559, allocations: 4 kB / 0.6467 GB, free: 15.84 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.156, allocations: 8 kB / 0.6467 GB, free: 15.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.156, allocations: 12.17 kB / 0.6467 GB, free: 15.82 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001055/0.1561, allocations: 190.4 kB / 0.6469 GB, free: 15.63 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.973e-05/0.1562, allocations: 108.8 kB / 0.647 GB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.247e-05/0.1563, allocations: 108.1 kB / 0.6471 GB, free: 15.4 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.317e-05/0.1563, allocations: 188.2 kB / 0.6473 GB, free: 15.21 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.068e-05/0.1564, allocations: 184.2 kB / 0.6475 GB, free: 15.02 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.874e-05/0.1565, allocations: 180.2 kB / 0.6476 GB, free: 14.84 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/0.1567, allocations: 409.2 kB / 0.648 GB, free: 14.38 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.54e-05/0.1567, allocations: 105 kB / 0.6481 GB, free: 14.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.868e-05/0.1568, allocations: 109 kB / 0.6482 GB, free: 14.16 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.501e-05/0.1569, allocations: 180.3 kB / 0.6484 GB, free: 13.97 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.827e-05/0.157, allocations: 184.2 kB / 0.6486 GB, free: 13.79 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.078e-05/0.157, allocations: 176.3 kB / 0.6487 GB, free: 13.61 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.986e-05/0.1571, allocations: 184.2 kB / 0.6489 GB, free: 13.42 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003969/0.1575, allocations: 0.8494 MB / 0.6497 GB, free: 12.5 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.126e-05/0.1576, allocations: 182.1 kB / 0.6499 GB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.727e-05/0.1577, allocations: 184.2 kB / 0.6501 GB, free: 12.11 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.684e-05/0.1578, allocations: 101 kB / 0.6502 GB, free: 12.01 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.951e-05/0.1578, allocations: 184.2 kB / 0.6504 GB, free: 11.82 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.125e-05/0.1579, allocations: 105.1 kB / 0.6505 GB, free: 11.71 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.901e-05/0.1579, allocations: 91.16 kB / 0.6506 GB, free: 11.62 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1579, allocations: 4 kB / 0.6506 GB, free: 11.61 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004221/0.1583, allocations: 51.92 kB / 0.6506 GB, free: 11.56 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0005525/0.1589, allocations: 345.5 kB / 0.6509 GB, free: 11.26 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 7.274e-05/0.159, allocations: 15.94 kB / 0.6509 GB, free: 11.24 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.159, allocations: 0 / 0.6509 GB, free: 11.24 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.159, allocations: 0 / 0.6509 GB, free: 11.24 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.1593, allocations: 0.5241 MB / 0.6515 GB, free: 10.71 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002303/0.1596, allocations: 175.2 kB / 0.6516 GB, free: 10.51 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002055/0.1598, allocations: 0.677 MB / 0.6523 GB, free: 9.809 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.056e-05/0.1598, allocations: 0 / 0.6523 GB, free: 9.809 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.322e-05/0.1598, allocations: 11.44 kB / 0.6523 GB, free: 9.797 MB / 458.7 MB Notification: Performance of SimCode: time 2.11e-07/0.1598, allocations: 0 / 0.6523 GB, free: 9.797 MB / 458.7 MB Notification: Performance of Templates: time 0.003648/0.1635, allocations: 1.594 MB / 0.6539 GB, free: 8.211 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)