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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 109 kB / 16.41 MB, free: 6.496 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.00127/0.00127, allocations: 187 kB / 17.34 MB, free: 5.762 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.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7699/0.7699, allocations: 132.2 MB / 423.4 MB, free: 6.641 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 69.45 kB / 0.582 GB, free: 23.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1332, allocations: 80.2 MB / 0.6603 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002652/0.1359, allocations: 1.277 MB / 0.6616 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0023/0.1383, allocations: 1.444 MB / 0.663 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.659e-05/0.1383, allocations: 0 / 0.663 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.031e-05/0.1384, allocations: 4 kB / 0.663 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002113/0.1386, allocations: 19.92 kB / 0.663 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006848/0.1393, allocations: 210.7 kB / 0.6632 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.3e-05/0.1394, allocations: 19.94 kB / 0.6632 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.304e-05/0.1394, allocations: 11.98 kB / 0.6633 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.1395, allocations: 15.92 kB / 0.6633 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/0.1397, allocations: 15.92 kB / 0.6633 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.1397, allocations: 0 / 0.6633 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003661/0.1401, allocations: 167.8 kB / 0.6634 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.568e-05/0.1401, allocations: 3.984 kB / 0.6634 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.198e-05/0.1401, allocations: 15.92 kB / 0.6635 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003844/0.1405, allocations: 139.8 kB / 0.6636 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1406, allocations: 7.938 kB / 0.6636 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.164e-06/0.1406, allocations: 0 / 0.6636 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.1406, allocations: 0 / 0.6636 GB, free: 6.949 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005474/0.1411, allocations: 367.5 kB / 0.664 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.1412, allocations: 12.03 kB / 0.664 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.733e-05/0.1413, allocations: 80.12 kB / 0.664 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.1415, allocations: 243.7 kB / 0.6643 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.455e-05/0.1416, allocations: 162.9 kB / 0.6644 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.742e-05/0.1417, allocations: 154.7 kB / 0.6646 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.161e-05/0.1418, allocations: 105 kB / 0.6647 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.921e-05/0.1418, allocations: 75.28 kB / 0.6647 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.368e-05/0.1419, allocations: 150.6 kB / 0.6649 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.408e-05/0.142, allocations: 150.6 kB / 0.665 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.561e-05/0.142, allocations: 162.5 kB / 0.6652 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003758/0.1424, allocations: 450 kB / 0.6656 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.1425, allocations: 173.1 kB / 0.6658 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.94e-05/0.1426, allocations: 92.08 kB / 0.6659 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.657e-05/0.1426, allocations: 79.28 kB / 0.6659 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.456e-05/0.1427, allocations: 109.8 kB / 0.6661 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.1427, allocations: 0 / 0.6661 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 9.384e-05/0.1428, allocations: 33.62 kB / 0.6661 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.265e-05/0.1429, allocations: 130.7 kB / 0.6662 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.143, allocations: 97.86 kB / 0.6663 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.143, allocations: 29.7 kB / 0.6663 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.754e-05/0.1431, allocations: 88.12 kB / 0.6664 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/0.1431, allocations: 0 / 0.6664 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-05/0.1431, allocations: 17.72 kB / 0.6664 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.1432, allocations: 314.8 kB / 0.6667 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.933e-05/0.1433, allocations: 7.984 kB / 0.6667 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.463e-05/0.1433, allocations: 26.56 kB / 0.6668 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.335e-05/0.1434, allocations: 30.52 kB / 0.6668 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1434, allocations: 0 / 0.6668 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001388/0.1435, allocations: 53.56 kB / 0.6668 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.1436, allocations: 4 kB / 0.6668 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.1436, allocations: 256 / 0.6668 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.1436, allocations: 0 / 0.6668 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.742e-05/0.1437, allocations: 19.98 kB / 0.6669 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.1437, allocations: 4.094 kB / 0.6669 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.1438, allocations: 11.84 kB / 0.6669 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.1439, allocations: 0 / 0.6669 GB, free: 3.336 MB / 0.4981 GB 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 9.453e-05/0.144, allocations: 190 kB / 0.6671 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.088e-05/0.144, allocations: 112.9 kB / 0.6672 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.981e-05/0.1441, allocations: 112 kB / 0.6673 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.834e-05/0.1441, allocations: 184.2 kB / 0.6675 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.198e-05/0.1442, allocations: 176.3 kB / 0.6676 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.942e-05/0.1443, allocations: 184.2 kB / 0.6678 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/0.1445, allocations: 405.1 kB / 0.6682 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.062e-05/0.1445, allocations: 105 kB / 0.6683 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.512e-05/0.1446, allocations: 112.9 kB / 0.6684 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.147e-05/0.1446, allocations: 180.3 kB / 0.6686 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.718e-05/0.1447, allocations: 176.3 kB / 0.6687 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.033e-05/0.1448, allocations: 184.2 kB / 0.6689 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.489e-05/0.1448, allocations: 184.3 kB / 0.6691 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.145, allocations: 311.7 kB / 0.6694 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.387e-05/0.1451, allocations: 182.1 kB / 0.6696 GB, free: 408 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.424e-05/0.1452, allocations: 180.2 kB / 0.6697 GB, free: 220 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.724e-05/0.1452, allocations: 105 kB / 0.6698 GB, free: 108 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.172e-05/0.1453, allocations: 184.2 kB / 0.67 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-05/0.1454, allocations: 101 kB / 0.6701 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.359e-05/0.1454, allocations: 87.28 kB / 0.6702 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1454, allocations: 0 / 0.6702 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003403/0.1458, allocations: 51.98 kB / 0.6702 GB, free: 15.68 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: 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.0005755/0.1463, allocations: 342 kB / 0.6706 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.536e-05/0.1464, allocations: 11.92 kB / 0.6706 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1465, allocations: 4.188 kB / 0.6706 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.317e-06/0.1465, allocations: 8 kB / 0.6706 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.1468, allocations: 455.6 kB / 0.671 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002636/0.1471, allocations: 202.9 kB / 0.6712 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.1474, allocations: 0.6767 MB / 0.6719 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.913e-05/0.1474, allocations: 11.44 kB / 0.6719 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.1474, allocations: 7.938 kB / 0.6719 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of Templates: time 0.003653/0.151, allocations: 1.582 MB / 0.6734 GB, free: 12.38 MB / 0.5137 GB 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)